/* --------- DLM Drop Menu 1 ---------
 * Copyright (C) (2015)
 * This code was developed by Dimitar Lubomirov Mihaylov.
 * This code is intended to be used by the 
 * Dense and Strange group at the TU Munich. Any further 
 * distribution of the code is not allowed 
 * without the permission of the developer!*/


/*a = link, ul = unordered list, li = item of the list*/

/*get rid of the default item markers*/
#DLM_Menu1 ul,
#DLM_Menu1 li,
#DLM_Menu1 a{
	list-style-type: none;
	text-decoration: none;
}

#DLM_Menu1{
	text-align:center;
	background: #DCE6F2;
	height: auto;
	width: auto;
	padding: 0px 0px;
	margin: 0px 0px;
}

#DLM_Menu1 > ul{
	display: inline-block;
	background: #3A5D6A;
	line-height: 240%;
	z-index: 100;
	position: relative;
	top: 0px;
	padding: 0px 0px;
	margin: 0;
	margin-bottom: -0px;
}

/*Makes the menu horizontaly aligned*/
#DLM_Menu1 > ul > li {
	float: left;
	background: #3A5D6A;
	border: 1px solid #3A5D6A;
}

#DLM_Menu1 > ul > li > a {
	background:  #3A5D6A;
	color: #DCE6F2;
	font-family: Arial;
	font-size: 15px;
	font-weight: bold;
	padding-left: 15px; /*size of the main menu boxes*/
	padding-right: 15px; /*size of the main menu boxes*/
}




/*closes the menues*/
#DLM_Menu1 ul li > ul{
	display: none;
	background: #DCE6F2;
	border-color: #DCE6F2;
	/*makes it so that the menus bars have fixed position. Check what the difference is to the option "fixed"*/
	position: absolute;
	top: inherit;
	/*makes sure that this object is infornt*/
	z-index: 127;
	padding: 0px 0px;
}

/*align the sub-sub items properly*/
#DLM_Menu1 ul li ul li > ul {
	left: 100%;
	top: 0px;
}


/*sets the width of the menu*/
#DLM_Menu1 > ul > li ul{
	width: 180px;
}

/*opens the menu on mouse-dragging*/
#DLM_Menu1 ul li:hover > ul{
	display: block;
}

/*makes the position of the sub-sub-menu box*/
#DLM_Menu1 ul li > ul li {
  position: relative;
}

/*settings of the submenus*/
#DLM_Menu1 ul li > ul li a {
  display: block;
  font: 10pt Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #3A5D6A;
  padding: 8px 20px;
  border: 1px solid #3A5D6A;
  text-decoration: none;
}

/*the main menu on hover*/
#DLM_Menu1 > ul > li > a:hover,
#DLM_Menu1 > ul > li:hover > a,
#DLM_Menu1 > ul > li:hover{
  background: #DCE6F2;
  color: #3A5D6A;
}

/*the sub menu on hover*/
#DLM_Menu1 ul ul > li:hover > a,
#DLM_Menu1 ul ul li a:hover {
  background: #3A5D6A;
  color: #DCE6F2;
}










