﻿.menuH
{
    margin: 0 0 0 10px; width: auto; float:right;
    height: 100px;     
    position:relative;/*! for IE htc*/
    z-index:4;/*H2*/
    font-family: 'SourceSansProRegular','Helvetica Neue', Helvetica, Arial;
    list-style: none;
    padding: 0;
    display:none;    
}

.menuH li
{
    padding: 0;
    /*margin: 0;
    display: block; TODO: I am testing them if they can be removed. If can, remove them.*/
    float: left;
    height: 100px;
    position: relative;/*move it into .menuH if you want submenu to be positioned relative to the whole menu instead of this li element*/
}

.menuH li:hover, .menuH li.onhover
{
    background:url('/images/menu-first-bg.png') no-repeat 50% 100%;
}

ul.menuH a
{
    padding: 0 16px;
    line-height: 100px; /*Note: keep this value the same as the height of .menuH and .menuH li */
    font-size: 1.05em;
    font-weight: normal;
    color: #fff;
    display: block;
    outline: 0;
    text-transform:uppercase;
    text-decoration: none;
}

#mmenulink
{
	background: center center no-repeat transparent;
	background-image: url( /images/menu-link.png );
	display: block;
	width: 48px;
	height: 44px;
	position: absolute;
	top: 25px;
	right: 10px;
	display:none;
}

#mmenu
{
    height:0;
    overflow:hidden;
}

@media only screen and (max-width: 1090px) 
{
   
    ul.menuH a
    {
        padding:0 10px;
        font-size:.95em;
    }
}
@media only screen and (max-width: 970px) 
{

    .content-wrapper 
    {
        background: none;
        width:100%;
    }

     header
    {
        height:100px;
        overflow:hidden;
    }
    .site-title
    {
                
    }
    .menuH
    {
        display:none;
    }
    #mmenulink
    {
        display:block;
    }

}
@media only screen and (max-width: 768px) 
{

    .content-wrapper 
    {
        background: none;
        width:100%;
    }

     header
    {
        height:70px;
        overflow:hidden;
    }
    .site-title
    {
        margin:7px;

        height:55px;
    }
    .menuH
    {
        display:none;
    }
    #mmenulink
    {
        display:block;
        top:12px;
    }

}
@media only screen and (max-width: 550px) 
{

    header
    {
        overflow:hidden;
        display:block;
        zoom:1;
    }
}

@media only screen and (max-width: 430px) 
{
    .site-title
    {
        width:150px;
        height:33px;
        float:left;
        margin:20px 0 0 20px;
    }
    .site-title a img
    {        
        width:150px;
        height:33px;        
        float:right;
        top:auto;
        margin:0;
        left: auto;
        right:auto;
    }
}

.menuH a:hover
{
    color: #fbb033;
}
.menuH a.arrow
{
    background: url(arrow.gif) no-repeat right center;
}
.menuH ul a.arrow
{
    background: url(right.gif) no-repeat 97% center;
}
 
        
/*Used to align a top-level item to the right*/        
.menuH .menuRight
{
    float: right;
    margin-right: 0px;
}
        
/*for the top-level separators*/
.menuH li.separator
{
    font-size:0;
    overflow:hidden;
    
}
               
        
/*######sub level###########*/
        
ul.menuH ul
{
    width:250px;
    position: absolute;
    left: -9999px;
    border-top: 0; 
    background: #f1f1f1;    
    text-align: left;
    list-style: none; margin: 0;  
    /*Following 1px(padding-right) will determine how much it is overlapped by the sub-sub-menu */
    padding: 0;   
}

.menuH li li
{
    float: none;
    white-space:nowrap;
    height: 35px;
    border-bottom:solid 1px #eee;
}
.menuH li li:hover, .menuH li li.onhover
{
    background:#9dacbc;
    border-bottom:solid 1px #9dacbc;
}
.menuH ul a
{
    padding: 2px 0 0 10px;
    line-height: 35px;
    font-family:'SourceSansProRegular';
    font-size: 0.75em;
    font-weight: normal;
    color: #555;
    text-align: left;  
    letter-spacing:1px;
}
.menuH ul a:hover
{
    color: #fff;
}

.menuH li:hover ul, .menuH li.onhover ul
{
    left: -10px;/*Use this property to change offset of the dropdown*/
    top: auto;
}

.menuH li:hover .dropToLeft, .menuH li.onhover .dropToLeft
{
    left: auto;
    right: -1px;
    top: auto;
}
.menuH ul ul
{
    
}

.menuH li:hover ul ul, .menuH li:hover ul ul ul, .menuH li:hover ul ul ul ul,
.menuH li.onhover ul ul, .menuH li.onhover ul ul ul, .menuH li.onhover ul ul ul ul
{
    left: -9999px;
    top:0;
}

.menuH li li:hover ul, .menuH li li li:hover ul, .menuH li li li li:hover ul,
.menuH li li.onhover ul, .menuH li li li.onhover ul, .menuH li li li li.onhover ul
{
    left: 250px;
}
.menuH li li li:hover, .menuH li li li.onhover
{
    background:#6f8598;
}
/*####### special effects ##########*/
        
.decor1 
{
   
}
.menuH ul 
{
     
    /*for older IE browsers, the htc file fix will disable this feature when box-shadow was also applied.*/
    filter:alpha(opacity=95);
    opacity: 0.95;  
 
}
.mmenu li
{
    position:relative;
}
.mmenu ul.submenu {
    display:none;
}
.mmenu .subtoggle
{
    position:absolute;
    right:0;
    top:0;
    margin:1px 0 0 0;
    width:48px;
    height:48px;
    background:url(/images/mmenu-more.png) no-repeat 50% 50%;
    background-color:#222;
    
}
.mmenu ul li
{
    
}
.mmenu ul.submenu ul.subsubmenu {
    display:none;
}
.mmenu ul.submenu .subtoggle
{
    position:absolute;
    right:0;
    top:0;
    margin:1px 0 0 0;
    width:40px;
    height:40px;
    background:url(/images/mmenu-more.png) no-repeat 50% 50%;
    background-color:#444;
    
}
.mmenu ul li ul li
{
    background:#444;
}