/*------------------------------ Menu bar ------------------------------ */


#headerlinks
{
    float: left;
    height: 100%;
    margin: 1px 0px 1px 0px;
    width:100%;
    list-style-type:none;
    font-weight: bold; 
visibility: hidden;
height: 0px;
border-collapse: collapse; 
}

ul.headerlinkslist
{
	margin: 0px;
    padding: 0px;
}

ul.headerlinkslist li.NavButton
{
    padding-left:0;	
    background-color: #636364;
    float: left;
    text-align: center;
    /* border-right: 1px solid #ccc; */
    width: 25%; /* fallback for non-calc() browsers */
    width: calc(100% / 2); 
    box-sizing: border-box;	
    overflow:auto;
    display: table;
    background: rgba(0, 0, 0, 0) linear-gradient(#D92644, #D92644) repeat scroll 0 0;
}

ul.headerlinkslist li a 
{
    color:white;
    text-decoration: none;   
    display:block; 
    height:41px;
    display:table-cell;
    vertical-align: middle;
    width: 85%;
}

ul.headerlinkslist li.NavButtonDropDown
{
    padding-left:0;	
    background: rgba(0, 0, 0, 0) linear-gradient(#D92644, #D92644) repeat scroll 0 0;
    background-color: #636364;
    float: left;
    text-align: center;
    /* border-right: 1px solid #ccc; */
    width: 25%; /* fallback for non-calc() browsers */
    width: calc(100% / 2);
    box-sizing: border-box;	
    overflow:auto;
    display: table;
    height:41px;
    position:relative;
	z-index: 1000;
}



ul.headerlinkslist li#HomeBtn.NavButton
{
	
}
ul.headerlinkslist li#SearchBtn.NavButton
{
	
}
ul.AspNet-TreeView-Show li#CatalogBtn.AspNet-TreeView-Leaf
{
	
}
ul.AspNet-TreeView-Show li#PersonsBtn.AspNet-TreeView-Leaf
{
	
}
ul.AspNet-TreeView-Show li#PlacesBtn.AspNet-TreeView-Leaf
{
	
}
ul.headerlinkslist li#ImagegalleryBtn.NavButton
{
	
}
ul.headerlinkslist li#ShowcaseBtn.NavButton
{

}

li.NavButtonDropDown ul.AspNet-TreeView
{
    padding-left:0;
    height:41px;
}

#headerlinks AspNet-Treeview ul
{
	position:absolute !important;
}

div#headerlinks li.AspNet-TreeView-Leaf a
{
   padding-left: 16%;

}
div#headerlinks .AspNet-TreeView-Root ul
{
    margin-top:0;
    margin-left:0;
    padding-left:0;
    width:100%;
}

div.AspNet-TreeView li
{
    color: blue;
    width:100%;
    background-image: none;
    /*display:table-cell;*/
}

ul.headerlinkslist li.AspNet-TreeView-Root div.collapsemenu.AspNet-TreeView-Expand,
ul.headerlinkslist li.AspNet-TreeView-Root div.collapsemenu.AspNet-TreeView-Collapse
{
	float: left;
	text-align: left;
	width: 15%;
	height: 41px;
    display:table-cell;
    position:relative;
}

ul.headerlinkslist li.AspNet-TreeView-Root
{
    list-style-type:none;
}

ul.headerlinkslist ul.AspNet-TreeView-Hide,
ul.headerlinkslist ul.AspNet-TreeView-Show
{
    position:absolute;
}

ul.headerlinkslist  li.AspNet-TreeView-Leaf
{  
    /*background-image: linear-gradient(#636364,#383838);*/
    background-image: linear-gradient(#D92644,#D92644);
    background-color: #636364;
    border-top: solid 1px white; 
    min-height: 16px;
    height: auto !important;
    height: 16px;
    width: 100%;
    float: left;
    text-align: left;
}

div#headerlinks  div.collapsemenu.AspNet-TreeView-Expand
{
	background: url('images/expand.gif') no-repeat center;
	cursor: pointer;
}
div#headerlinks  div.collapsemenu.AspNet-TreeView-Collapse
{
	background: url('images/collapse.gif') no-repeat center;
	cursor: pointer;
}

.toplink-button a,
.toplink-button a:visited
{
    color: #FFFFFF;
	text-decoration: none;
}



/* Dynamic resizing for mobile (v0.2) */

@media screen and (max-width:580px)
{
	#headerlinks
	{
	width:100% !important;
	height:auto !important;
    font-size:0.9em;
	}
	
	#headerlinks ul ul
	{
	margin:0 !important;
	}

	#ctl00_Menu2_UL
	{
	width:49% !important;
	padding:0 !important;
	}
    ul#ctl00_Menu2_UL
	{
	padding:0 !important;
	}
    div#ctl00_StyleSwitcher.StyleSwitcherContainer input.utility
	{
	display:none !important;
	}	
}
    

