/* =====================================

	These styles attempt to replicate our
	Drupal madlib theme masthead styles in
	a flat version. These are intentionally
	not dependent on Bootstrap, megamenu.js,
	960.gs, or other frameworks. 

   ===================================== */

#madlib-masthead {
	width:100%; 
	background: url('//library.duke.edu/sites/all/themes/madlib/images/effects/bg-header-dukeblend-960-180b.jpg') no-repeat scroll center top #053482; 
	border-bottom: 1px solid #262626; 
	padding-top: 10px; 
	float:left;
}

#madlib-masthead a img {
	border: none !important;
}

#madlib-masthead #myAccounts { margin-right: 10px; }

#madlib-masthead #region-myaccount {
	float:right; clear: none; 
	padding: 5px 5px 16px 5px;
	text-align: left;
	width: auto; 
	font-size: 10pt; 
	margin: 0 10px;	
}

#madlib-masthead #region-myaccount a {
	color: #94afed;
	border-bottom: 1px dotted #94afed;
	text-decoration: none;
}

#madlib-masthead #region-myaccount a:hover {
	color: #aac1f7 !important;
	text-decoration: none !important;
	border-bottom: 1px dotted #aac1f7;
}

#madlib-masthead .logo-img {
	margin: 10px 20px 0 15px; 
	width: 160px; 
	float: left;
}

#madlib-masthead #region-megamenu {
	float:right; 
	width: 700px; 
	margin: 0;
}

#madlib-masthead .megamenu_container {
width: 100%;
height: 46px;
}

#madlib-masthead .megamenu {
list-style: none;
padding: 0;
position: relative;
margin: 0;
font-family: Arial,Helvetica,sans-serif;
font-size: 14px;
line-height: 1;
}

#madlib-masthead .megamenu > li {
float: left;
margin: 0;
border: none;
-webkit-transition: background 0.5s ease;
-moz-transition: background 0.5s ease;
-o-transition: background 0.5s ease;
-ms-transition: background 0.5s ease;
transition: background 0.5s ease;
}

#madlib-masthead .megamenu_light_bar .megamenu > li .megamenu_drop {
background: url('//library.duke.edu/sites/all/themes/madlib/images/effects/arrowdrop-green-padded-sm.png') no-repeat scroll right 50% transparent;
}

#madlib-masthead .megamenu_light_bar .megamenu > li > a {
font-size: 14.7px;
text-transform: none;
font-family: Arial,Helvetica,sans-serif;
color: #fbfbfb;
padding: 5px 20px 5px 7px;
text-shadow: 1px 1px 2px #000000;
}


/* Breadcrumb for systems that need own rendered as part of mast */

div.breadcrumbBasic {
	display: block;
	clear: both;
	background-color: #999;
	overflow: hidden;
	counter-reset: flag;
	margin-bottom: 10px;
	border-bottom: 1px solid #777;
}


.breadcrumbBasic a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	line-height: 36px;
	color: #eee;
	padding: 0 10px 0 30px;
	background-color: #666;
	position: relative;
	font-size: 13px;
}

.breadcrumbBasic a.active, .breadcrumbBasic a:hover{
	background: #555;
	color: #fff;
	
}
.breadcrumbBasic a.active:after, .breadcrumbBasic a:hover:after {
	background: #555;	
}

.breadcrumbBasic a:after {
	content: '';
	position: absolute;
	top: 0;
	right: -18px;
	width: 36px;
	height: 36px;
	transform: scale(0.707) rotate(45deg);
	-moz-transform: scale(0.707) rotate(45deg);
	-webkit-transform: scale(0.707) rotate(45deg);
	-ms-transform: scale(0.707) rotate(45deg);
	-o-transform: scale(0.707) rotate(45deg);
	z-index: 1;
	background: #666;
	box-shadow: 1px -1px 0 1px rgba(0,0,0,0.4),3px -3px 0 2px rgba(255,255,255,0.1);
	-moz-box-shadow: 1px -1px 0 1px rgba(0,0,0,0.4),3px -3px 0 2px rgba(255,255,255,0.1);
	-webkit-box-shadow: 1px -1px 0 1px rgba(0,0,0,0.4),3px -3px 0 2px rgba(255,255,255,0.1);
	-ms-box-shadow: 1px -1px 0 1px rgba(0,0,0,0.4),3px -3px 0 2px rgba(255,255,255,0.1);
	-o-box-shadow: 1px -1px 0 1px rgba(0,0,0,0.4),3px -3px 0 2px rgba(255,255,255,0.1);
	border-radius: 0 5px 0 50px;
	-moz-border-radius: 0 5px 0 50px;
	-webkit-border-radius: 0 5px 0 50px;
	-ms-border-radius: 0 5px 0 50px;
	-o-border-radius: 0 5px 0 50px;
}

.breadcrumbBasic a:first-child {
	padding-left: 10px;
}

.breadcrumbBasic a.active, .breadcrumbBasic a:hover {
	background: #555;
	color: #fff;
}

.breadcrumbBasic div.currentPage, .breadcrumbBasic .easy-breadcrumb_segment-title {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 13px;
	line-height: 36px;
	color: #fff;
	padding: 0 10px 0 30px;
	position: relative;
}
