/* Page Header */

.header {
	background-color: #041E3A;
}

#header {
	background-color: inherit;
	padding: 42px 0 22px 0;
	width: 1140px;
	margin: 0 auto;
}

#page-wrapper > div.leaderboard {
  position: relative;
	z-index: 999;
}

/*
#header .logo {
  position: relative;
  z-index:  999;
	margin:   auto;
	width:    200px;
	height:   50px;
}
*/

/*
#header .caption {
	text-align: left;
	margin-left: 50px;
}
*/

#header .caption h1 {
	font-family: "merriweatherregular";
	font-size: 29px;
	color: #fff;
	margin: 0;
	width: 100%;
}

/*
#header #block-block-4 .block-inner  {
	text-align: center;
}

#header #block-block-4 {
	float: none;
}
*/

#header p {
	font-family: "merriweatherregular";
	font-size: 13px;
	font-style: italic;
	letter-spacing: .25em;
	color: #fff;
	margin: 0;
}

.navigation {
	background-color: #041E3A;
}

.navigation #superfish-1 {
	max-width: none;
	display: inline-block;
	float: left;
}

.navigation #superfish-1 .sf-depth-1,
.navigation #superfish-1 > li#menu-479-1 a.sf-depth-1 {
	padding: 0 9.5px;
	margin: 0;
	font-size: 12px;
}

#menu-bar {
	text-align: center;
	text-transform: uppercase;
	font-family: "ralewaybold";
	font-size: 11px;
	letter-spacing: 0.25em;
	width: 1140px;
	margin: 0 auto;
	background-color: #041E3A;
}

/*
#superfish-1 li#menu-479-1 a.sf-depth-1 {
	background: none;

}
*/

#superfish-1 li {
	background: none;
}

#superfish-1 li a {
	font-weight: normal;
}

#superfish-1 li a:hover {
	font-weight: normal;
	color: #0277AE;
}

#superfish-1 li a.active {
	color: #28a8e0;
}

#superfish-1  ul {
	margin-top: 4px !important;
	border-top: 6px solid #0277AE !important;
	width: 23em !important;
	background-color: #123B62 !important;
}


#superfish-1 li.sf-depth-2 a.sf-depth-2 {
	text-transform: none;
	font-family: "open_sansregular";
	font-size: 11px;
	letter-spacing: 0.10em;	
	text-align: left;
	color: #fff;
	border-bottom: 1px solid #0277AE;
	padding-left: 1em;
}

#superfish-1 li.sf-depth-2 a.sf-depth-2:hover {
	color: #27A9E1;
}

/* User menu (login, logout, profile links) */
#block-system-user-menu ul li a {
	color: #ccc;
	font-family: "open_sansregular";
	font-size: 11px;
	letter-spacing: 0.10em;	
}


#block-system-user-menu ul li a:hover {
	color: #27A9E1;
	text-decoration: none;
}

#block-system-user-menu {
	/*margin-top: -20px;*/
}
/* End -- User menu (login, logout, profile links) */


.logged-in #menu-bar a.sf-depth-1.project-groups {
	/*margin-right: 245px;*/
}

.not-logged-in #menu-bar a.sf-depth-1.project-groups {
	/*margin-right: 310px;*/
}

#search-block-form  {
	border: 2px solid #fff;
	border-radius: none;
	margin-top: -15px;
}

#edit-search-block-form--2  {
	border:none;
	background-color: #041E3A;
	color: none;
}



#search-block-form input.form-submit {
  background: url("/sites/all/themes/adaptivetheme/iab/images/search-off.png") 5px 5px no-repeat;
  background-size: 20px 20px;
}

#search-block-form input.form-text {
	border-width: 0px;
	color: #fff;
}





/* Mobile styling */
@media screen and (max-width: 780px) { 

	#block-system-user-menu {
		/*display: none;*/
	}
	
	div#block-search-form {
		/* sdavu 
		margin-top: 2em;
		margin-right: 2em;
		*/
		/*margin-top: 15px;*/
		display: none;
	}
	
	#search-block-form {
		margin: 0;
	}
	
	/* sdavu
	#header .logo {
	  position: absolute;
	  top: 1.5em;
	  width: 7em;
	}
	
	#header .caption {
		margin-left: 7em;
	}
	*/
	
	#header .caption p {
		/* sdavu
		display: none;
		*/
		letter-spacing: normal;
		text-align: center;
	}
	
	#header .caption h1 {
		/*padding: 2.3em 0 5em 0; sdavu*/
		padding-top: 2.3em;
		font-size: 18px;
		text-align: center;
	}
	
	#superfish-1-select {
		padding: 0;
		margin: 0;
	}
	
	/*.header {
		display: inline-block;
		width: 85%;
	}*/
	
	.navigation {
		display: inline-block;
	  padding: 5px;
	}
	
	


	/*
	.navigation #menu-bar {
	  width: 48px; 
		margin: 0;
	}
	
	#superfish-1-select {
		background-color: #041E3A;
		color: white;
		background: url("/sites/all/themes/adaptivetheme/iab/images/mobilemenu.png") no-repeat center center;
		background-size: cover;
	}
	
	#superfish-1-select option {
		color: green;
	}
	
	.navigation #menu-bar {
		background-color: #1C3C63;
		width: 100%;
	}
	
	.navigation #superfish-1 {
	  display: block;
	} 
	
	.navigation #superfish-1 li {
	  display: block;
		width: 100%;
		border-top: 1px solid #277FB5;
	} 
	*/
	.navigation, #menu-bar {
	  width: 100%; 
		margin: 0;
		padding: 0;
	}
	
	#superfish-1-select {
		width: 50%;
		padding: 8px;
		background-color: #041E3A;
		color: white;
	}
	
	#superfish-1-select option {
		padding: 18px;
	}
}

@media screen and (max-width: 500px) {
	#superfish-1-select {
		width: 100%;
	}
}


