/* menu styling */


#subnav {
	display:none;
}   /* disables subnav */



.skip-link, .menu-toggle {
	display: none;
}

li.menu-item {
	display:inline-block;
	vertical-align: middle;
	margin-left:0px;
}

nav a {
	font-family: DINPro-Medium, Helvetica, sans-serif;
	font-size: 13px;
	list-style: none;
	list-style-image: none;
	text-align: left;
	position: relative;
	margin:6px;
	margin-right: 10px;
	color: #fff;
}

.menu-header ul li a {
	font-size:16px;
}


nav a:hover, nav a:visited, nav a:link, nav a:active {
	text-decoration: none;
	
}

menu#menu-nav li a:hover {
	color: #fff;
}


ul.menu {
	margin-bottom: 0px;
	top: 10px;
}

	/* making the dropdown work */
	nav ul ul {
		display:none; 
		position: absolute; 
		top: 100%;
	}

	nav ul li:hover {
	}	

	nav ul li:hover > ul {
		display: block;
		z-index: 51;
		padding: 10px;	
	}

	nav ul li ul {
		margin-left: 0px;
		background: #79ced9;

	}

	nav ul li ul a {
		font-size: 12px;
		font-weight: normal;
	}

	nav ul li ul a:hover {
		color: #000;

	}

	nav ul li ul li ul {
		padding-left:8px;
		white-space: nowrap;
	}

	nav ul {
		list-style: none;
		position: relative;
		display: inline-block;
	}

	nav ul:after {
		content: ""; 
		clear: both; 
		display: block;

	}

	nav ul li {
		float: left;
	}

	nav ul li a {
		display: block; 
		text-decoration: none;
	}

	ul.sub-menu li a {
		margin: 0px;
		padding: 5px;

	}

	nav ul ul li {
		float: none; 
		position: relative;
	}

	nav ul ul li a {
		color: #fff;
	}

	nav ul ul li a:hover {
	/*	background: #4b545f;  */
	}

	nav ul ul ul {
		position: absolute; 
		left: 100%; 
		top:0;

	}

	ul.sub-menu {
		padding-left: 0px;
	}



#menu-nav {
	top: 12px;
}


form#searchform label.screen-reader-text {
	display: none;
}

#masthead .search_container {
	padding-top: 23px;
	position: absolute;
	right: 1.9em;
	top: 11px;
}

#masthead #s {   /*search field styling */

}

#masthead #searchsubmit { /*search button styling */
	margin:0px;
	padding:0px;
}


#masthead #searchsubmit {
    border: 0px solid;
    position: absolute;
    height: 32px;		
    width: 32px;
    right: 3px;
    top: 24px;
    background: url("../images/spritesheet.png") -445px -45px;
    font-size: 0px;
}

#masthead #searchsubmit:hover {
	cursor:pointer;
}

.social_container {
	list-style-type: none;
	position: relative;
	height:30px;
	float:right;
	padding-right: 16px;
	top: -50px;
}

.social_container a, .social_container a:hover, .social_container a:visited, .social_container a:active {
	font-size: 0px;
}

ul.social_container li {
	width:30px;
	display: inline-block;
}

.social_link {
	color:rgba(0,0,0,0);
	margin:0px;
}

.social_btn {
	display:inline-block;
	background: url('../images/spritesheet.png');
	text-align:center;
	height:30px;
	width:30px;
	margin:0;
	vertical-align: 30px;
	padding: 0;
}

.fb {
	background-position: -200px -52px;
}

.twtr {
	background-position: -300px -52px;
}

.gplus {
	background: url('../images/google-plus-icon.png');
}

/* adding icons to menu */


.home_link_icon a {

   background-image: url('../images/GIL_logo.png');
   height: 92px;
   width: 300px;
   background-position: left;
   background-repeat: no-repeat;
   color: transparent;
   position: absolute;

}

.logo_img {

	 height:79px;
	 width:300px;
	 background:url('../images/GIL_logo.png');
}


.about_img, .research_img, .press_img, .events_img, .contact_img {
	background: url('../images/spritesheet.png');
	margin-top:32px;
	padding-left: 33px;
}

.about_img {
	width: 175px;
	background-position: 0px 0px;
	padding-left: 35px;
}

.research_img {
	width: 140px;
	background-position: -200px 0px;
	padding-left: 35px;
}

.press_img {
	width: 100px;
	background-position: -350px 0px;
	padding-left: 25px;

}

.events_img {
	width: 95px;
	background-position: -50px -100px;
	padding-left: 17px
}

.contact_img {
	width: 150px;
	background-position: -120px -100px;
	padding-left: 50px;
}

/* #adding icons to menu */

/* # menu styling */


/* subnav styling */

#subnav {
	background-color: #f2f2f2;

}

#menu-sub-nav li a:hover {
	color: #e80d00;
}

#menu-sub-nav li a {
	color: #000;
}


#menu-sub-nav {
	top:5px;
	float: right;
	
}

.about_img {
	margin-left: 240px !important;
}

/* end subnav styling */
