.link, a{text-decoration: underline;}.link, a{font-weight: normal;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1140px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1140px;}
.bodysize{max-width: 1140px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #216093;}
.link:hover, a:hover{color: #184569;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #cccaca;}
body{
		color: #000000;
		font-family: "Trebuchet MS", Helvetica, sans-serif;
		background-color: #ffffff;
	}
.content{
		background-color: #ffffff;
	}
.searchbox{
		border: 3px solid #ffffff;
	}
#default_footer{
		margin-left:auto;
		margin-right:auto;
		text-align: center;
		font-size:10pt;
		padding-bottom:10px;
		color:#000000;
	}
#default_footer a{
		text-decoration: underline;
		color:#000000;
	}
.resource_item_header, .button, .button-strip a{
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: normal;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #fcda1d;
	background: #fcda1d;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcda1d), color-stop(50%,#fcda1d), color-stop(51%,#fcda1d), color-stop(100%,#fcda1d));
	background: -moz-linear-gradient(top,  #fcda1d 0%, #fcda1d 50%, #fcda1d 51%, #fcda1d 100%);
	background: -webkit-linear-gradient(top,  #fcda1d 0%,#fcda1d 50%,#fcda1d 51%,#fcda1d 100%);
	background: -o-linear-gradient(top,  #fcda1d 0%,#fcda1d 50%,#fcda1d 51%,#fcda1d 100%);
	background: -ms-linear-gradient(top,  #fcda1d 0%,#fcda1d 50%,#fcda1d 51%,#fcda1d 100%);
	background: linear-gradient(top,  #fcda1d 0%,#fcda1d 50%,#fcda1d 51%,#fcda1d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcda1d', endColorstr='#fcda1d',GradientType=0 );
	border: 0px solid #fcda1d;
	color: #000000;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #184569;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#184569), color-stop(50%,#184569), color-stop(51%,#184569), color-stop(100%,#184569));
	background: -moz-linear-gradient(top,  #184569 0%, #184569 50%, #184569 51%, #184569 100%);
	background: -webkit-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -o-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -ms-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#184569', endColorstr='#184569',GradientType=0 );
	border: 0px solid #184569;
	color: #ffffff;
}
.button a, .button-strip a{
	color: #000000;
	text-decoration:none;
}
.button-strip-active a{
	color: #ffffff;
	text-decoration:none;
}
.button:hover a, .button-strip:hover a{
	color: #ffffff;
	text-decoration:none;
}
.button-strip a{
	font-weight:normal;
}
.resource_item_open{
	border: 0px solid #fcda1d;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 4px 4px 0px 0px;
	-moz-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #216093;
	padding-bottom:2px;
	padding-top:2px;
	margin-bottom:0px;
	margin-top:0px;
	line-height: 1.3;
}
h1, h2, .heading1, .heading2{
	padding-bottom:5px;
	padding-top:5px;
	margin-bottom:0px;
	margin-top:0px;
}
h1, .heading1{
	font-weight: bold;
	font-size: 3.667em;
}
h2, .heading2{
	font-weight: bold;
	font-size: 2.667em;
}
h3, .heading3{
	font-weight: bold;
	font-size: 1.833em;
}
h4, .heading4{
	font-size: 1.167em;
	font-weight: bold;
}
h5, .heading5{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.917em;
}
.widget_tab, .widget_tab_selected{
	background: #184569;
	color: #ffffff;
}
.widget_tab:hover, .widget_tab_selected{
	background: #184569;
	color: #ffffff;
}
a.button-strip{
	width: 100%;
	display: block;
}
a.button-strip:hover{
	text-decoration:none;
}
.widget_tab, .widget_tab_selected{
	cursor: pointer;margin-left: auto;margin-right: 1px;padding: 5px;float: left;font-size: 1.083em;
}
.widget_tab_bar{
	height: 28px;
	border-bottom:1px solid #cccaca;
}
.tab, .tab_selected, .navbar-top, .nav-mobile{
	font-weight: normal;
	background: #216093;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#216093), color-stop(50%,#216093), color-stop(51%,#216093), color-stop(100%,#216093));
	background: -moz-linear-gradient(top,  #216093 0%, #216093 50%, #216093 51%, #216093 100%);
	background: -webkit-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -o-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -ms-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#216093', endColorstr='#216093',GradientType=0 );
	color: #ffffff;
}
.vtab{
	font-weight: normal;
	background: #216093;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#216093), color-stop(50%,#216093), color-stop(51%,#216093), color-stop(100%,#216093));
	background: -moz-linear-gradient(-90deg,  #216093 0%, #216093 50%, #216093 51%, #216093 100%);
	background: -webkit-linear-gradient(-90deg,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -o-linear-gradient(-90deg,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -ms-linear-gradient(-90deg,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: linear-gradient(-90deg,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	color: #ffffff;
}
.vtab:hover, .vtab_selected{
	background: #184569;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#184569), color-stop(50%,#184569), color-stop(51%,#184569), color-stop(100%,#184569));
	background: -moz-linear-gradient(-90deg,  #184569 0%, #184569 50%, #184569 51%, #184569 100%);
	background: -webkit-linear-gradient(-90deg,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -o-linear-gradient(-90deg,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -ms-linear-gradient(-90deg,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: linear-gradient(-90deg,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#184569', endColorstr='#184569',GradientType=0 );
	color: #ffffff;
}
.navbar-top>div>ul>li>a, .navbar-top>div>ul>li>a:focus, .nav-mobile a{
	background: #216093;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#216093), color-stop(50%,#216093), color-stop(51%,#216093), color-stop(100%,#216093));
	background: -moz-linear-gradient(top,  #216093 0%, #216093 50%, #216093 51%, #216093 100%);
	background: -webkit-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -o-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: -ms-linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	background: linear-gradient(top,  #216093 0%,#216093 50%,#216093 51%,#216093 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#216093', endColorstr='#216093',GradientType=0 );

	color: #ffffff;
	border-right: 0px solid #216093;
	border-left: 0px solid #216093;
	border-top: 0px solid #216093;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: 0px 0px 0px 0px;
	border-radius: 0px 0px 0px 0px;
}
.tab:hover, .tab_selected, .navbar-top .open>a, .navbar-top>div>ul>li>a:hover, .navbar-top a.current, .navbar-top>div>ul>li>a:focus{
	background: #184569;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#184569), color-stop(50%,#184569), color-stop(51%,#184569), color-stop(100%,#184569));
	background: -moz-linear-gradient(top,  #184569 0%, #184569 50%, #184569 51%, #184569 100%);
	background: -webkit-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -o-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -ms-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#184569', endColorstr='#184569',GradientType=0 );
	color: #ffffff;
}
.tab a{
	color: #ffffff;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #ffffff;
}
.tab-bar{
	border-bottom: 1px solid #216093;
}
@media (max-width: 767px) {
	.tab{
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
	.tab-bar{
		border: none;
	}
}
#responsiveheader{
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: bold;
	background: none;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,none), color-stop(50%,none), color-stop(51%,none), color-stop(100%,none));
	background: -moz-linear-gradient(top,  none 0%, none 50%, none 51%, none 100%);
	background: -webkit-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: -o-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: -ms-linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	background: linear-gradient(top,  none 0%,none 50%,none 51%,none 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='none', endColorstr='none',GradientType=0 );
	color: #ffffff;
}
#responsiveheaderimage{
	background-image: URL(/images/logos/berkeleypubliclibrary/);
}
#responsiveheadermessage p:before{
	content:'';
}
#responsiveheaderaltmessage p:before{
	content:'';
}
.widget{
	border: 1px solid #3a4f4b;
	background-color: #ffffff;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
	box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0);
}
.widgetheader{
	color: #ffffff;
	font-weight: normal;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-webkit-border-radius: -1px -1px 0px 0px;
	border-radius: -1px -1px 0px 0px;
	background: #184569;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#184569), color-stop(50%,#184569), color-stop(51%,#184569), color-stop(100%,#184569));
	background: -moz-linear-gradient(top,  #184569 0%, #184569 50%, #184569 51%, #184569 100%);
	background: -webkit-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -o-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: -ms-linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	background: linear-gradient(top,  #184569 0%,#184569 50%,#184569 51%,#184569 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#184569', endColorstr='#184569',GradientType=0 );
}
.widgetbody{
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-topleft: 0px;
	-webkit-border-radius: 0px 0px -1px -1px;
	border-radius: 0px 0px -1px -1px;
}
.widgetbody p{
	margin-top:0px;
}
.widgetbody h1{
	color: #216093;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #216093;
	border-color: #216093;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #216093;
}
.polaris-nav-active i{
	color: #216093;
}
.widgetbody hr{
	color: #cccaca;
	background-color: #cccaca;
	margin-top: 6px;
	margin-bottom: 8px;
	height: 1px;
	border: none;
}
.toprule{
	border-top: 1px solid #cccaca;
}
.bottomrule{
	border-bottom: 1px solid #cccaca;
}
.bodytext{color: #000000;}
.headingtext{color: #216093;}
/**** Body ***/
/* target a div to allow a content block to go full width */
#body>div>.amh-row>div#idQXbwR.amh-block>.amh-content {
    max-width: 100%;
}

html, body {
   font-size: 16px;
   line-height: 1.4;
}
::selection {
	background: #79bfef;
	color: #fff;
	text-shadow: none;
}
/*** Navigation ***/
#navbar-collapse-grid > ul > li:nth-child(2) > a {
  display: none;
}
.navbar-top .navbar-nav > li > a {
    padding: 5px 15px;
    text-decoration: none;
      display: block;
    height: 45px;
    line-height: 50px;
    padding: 0 15px;
      -webkit-font-smoothing: antialiased;
    font-weight: bold;
    font-size: 18px;
}
.navbar {
    margin: 0 auto;
    min-height: inherit;
    border: 0;
    border-radius: 0;
}
#navbar-collapse-grid > ul > li > a > i {
   display: none;
}
@media (min-width: 768px){
.dropdown:hover > .dropdown-menu, .menu-item--expanded:hover > ul.top-menu { 
  	display: block !important; 
}  
}


.navbar-collapse:before, .nav:before,.navbar:before {
   display: unset;
   content: unset;
}
#navbar {
      width: 100%;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
    font-weight: bold;
    font-size: 18px;
  margin: 0;
}
#header li.menuspace {
display: none;
}
@media (min-width: 768px) {
    .navbar-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    float: unset;
    }
  #navbar {
      width: 65.73%;
  }
}
.navbar-nav>li>.dropdown-menu {
    width: 500px;
    position: absolute;
    z-index: 15000;
    top: 100%;
    left: auto;
    background: #184569;
    padding: 0 15px;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    margin: 0;
}

.dropdown-menu>li>a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    margin: 10px 0;
    padding: 10px 0px;
    line-height: normal;
    font-weight: 700;
}
.dropdown-menu>li>a:hover,
.nav-list > li > a:hover{
  text-decoration: underline;
  background: unset;
      color: #fff;
}
.nav-list > li > a {
    display: block;
    padding: 0px;
    clear: both;
    font-weight: 700;
    line-height: normal;
    color: #333;
    white-space: break-spaces;
    min-width: 160px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
.nav-list .heading4 {
    font-size: 16px;
    font-weight: normal;
    color: white;
}
/* Hide structural placeholder list items in selected mega menus */
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1) > li,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2) > li,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) > li,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) > li,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > li:nth-child(2),
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > li {
  display: none;
}

/* Keep original 50/50 layout for menu 10 and menu 8 */
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1),
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) {
  float: left;
  width: 50%;
  clear: both;
}

#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2),
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) {
  float: right;
  width: 50%;
  clear: right;
}

/* Explore menu: use fixed column widths so descriptions have room */
#navbar-collapse-grid > ul > li:nth-child(4) > ul {
  width: 760px;
}

#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) {
  float: left;
  width: 330px;
  clear: none;
}

#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) {
  float: left;
  width: 330px;
  clear: none;
  margin-left: 60px;
}

#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2) > ul {
  float: right;
  clear: both;
}

/* Description-style / non-clickable text items */
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(4) > a,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(4) > a,
#navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) > ul:nth-child(2) > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) > ul:nth-child(2) > li:nth-child(4) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) > ul:nth-child(2) > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1) > ul:nth-child(3) > li > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) > ul:nth-child(2) > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) > ul:nth-child(2) > li:nth-child(4) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) > ul:nth-child(2) > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2) > ul:nth-child(3) > li > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(3) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(9) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(3) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(6) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(9) > a {
  font-size: 16px;
  font-weight: normal;
  color: white;
  cursor: default;
  text-transform: unset;
  text-decoration: unset !important;
  padding-bottom: 8px;
  line-height: 1.1;
}

/* Additional tighter description-style items for menu 8 */
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(5) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1) > ul > li:nth-child(8) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(2) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(5) > a,
#navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2) > ul > li:nth-child(8) > a {
  font-size: 16px;
  font-weight: normal;
  color: white;
  cursor: default;
  text-transform: unset;
  text-decoration: unset !important;
  padding-bottom: 4px;
  line-height: 1.1;
}

.yamm .yamm-content {
  padding: 10px 0;
  margin: 10px 0;
}
.yamm .yamm-content {
     padding: 10px 0px;
    margin: 10px 0px;
}
#block-menu-menu-audience-menu a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
#block-menu-menu-audience-menu li a {
    display: block;
    padding: 0 10px;
    background: #216093;
}
#block-menu-menu-audience-menu li ul.menu li a:last-child {
    padding: 6px 15px 8px 15px;
}
/*** Header ***/
#header {
    background: #333;
    position: relative;
    padding-top: 34px;
}
.no-slideshow-height {
    background: url('https://www.berkeleypubliclibrary.org/themes/custom/plutonian/img/bg/bg_events_0.jpg') center no-repeat;
    height: 200px;
}
.region-header {
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    z-index: 100;
}
.site-logo {
    position: absolute;
    left: 0;
}
.no-slideshow-height .site-logo {
    top: 30px;
}
.field--name-body h2 {
	margin-bottom: 1em;
  padding: 0;
}
.field--name-body h2, .taxonomy-term-description h2, .field--name-description h2 {
    font-size: 18px;
    text-transform: uppercase;
}
.site-logo h2 a {
    display: block;
    background-color: #216093;
    background-size: cover;
}
.no-slideshow-height .site-logo h2 a {
    width: 76px;
    height: 126px;
}
.block img {
    margin: 0 auto;
      height: auto;
    max-width: 100%;
}
#block-menu-menu-audience-menu {
    display: none;
    position: absolute;
    top: 0;
    z-index: 1000;
    font-size: 18px;
    line-height: 37px;
    color: #fff;
    height: 36px;
    font-weight: bold;
}
.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}
.top-menu {
   margin: 0;
    margin-left: 1em;
    padding: 0;
    list-style: none outside;
    text-align: left;
}
#block-menu-menu-audience-menu li {
    float: left;
    position: relative;
}
#block-menu-menu-audience-menu a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
#block-menu-menu-audience-menu li a {
    display: block;
    padding: 0 10px;
    background: #216093;
  font-weight: 700;
}
#block-menu-menu-audience-menu li ul.top-menu {
    display: none;
    position: absolute;
    z-index: 100;
    padding: 4px 0 0 0;
    background: #184569;
    top: 100%;
    right: 0;
    width: 190px !important;
    line-height: 16px;
    font-size: 12.5px;
    font-weight: normal;
}
.region-search .block, .region-mobile-search .block {
    background: #fcda1d;
    padding: 12px 18px 10px;
    margin: 0 10px 40px 0;
    -webkit-box-shadow: 10px 10px #acacac;
    -moz-box-shadow: 10px 10px #acacac;
    box-shadow: 10px 10px #acacac;
    -webkit-box-shadow: 10px 10px rgba(0,0,0,0.15);
    -moz-box-shadow: 10px 10px rgba(0,0,0,0.15);
    box-shadow: 10px 10px rgba(0,0,0,0.15);
    margin-bottom: 0;
    position: relative;
    z-index: 100;
}
.region-search .block h2, .region-mobile-search .block h2 {
    color: #000000;
    line-height: 1;
      font-size: 16px;
    text-transform: uppercase;
  font-weight: bold;
  padding: 0;
}
.region-search .block #search-field, .region-mobile-search .block #search-field, .region-search .block #search-mobile-field, .region-mobile-search .block #search-mobile-field {
    margin: 0;
    background: #fff;
    color: #000;
    padding: 6px 35px 3px 10px;
    margin: 8px 0 10px;
    border: none;
    display: block;
    width: 100%;
    line-height: 1;
    position: relative;
}
.region-search .block .search-source-field, .region-mobile-search .block .search-source-field {
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
}
.region-search .block .search-source-field label, .region-mobile-search .block .search-source-field label {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: baseline;
}
.region-search .block .search-source-field input, .region-mobile-search .block .search-source-field input {
    margin: 3px 3px 0 5px;
  position: relative;
}
.region-search .block .search-field-wrapper, .region-mobile-search .block .search-field-wrapper {
    position: relative;
}
.region-search .block .search-field-wrapper button, .region-mobile-search .block .search-field-wrapper button {
    position: absolute;
    right: 1px;
    top: 50%;
    display: block;
    border: 0;
    text-indent: -999em;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    background: url(https://www.berkeleypubliclibrary.org/themes/custom/plutonian/img/find_button.png) no-repeat center;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.field--name-body p {
   margin-bottom: 1em;
}
#block-menu-menu-audience-menu li:hover a, #block-menu-menu-audience-menu li.active-trail a {
    background: #184569;
}
#block-menu-menu-audience-menu li ul.top-menu li a {
    padding: 6px 15px;
}
#block-menu-menu-audience-menu li ul.top-menu li a:last-child {
    padding: 6px 15px 8px 15px;
}
#block-menu-menu-audience-menu li ul.top-menu li:hover a {
    background: #216093;
}
#block-menu-menu-audience-menu li ul.top-menu li {
    float: none;
}
/*** Footer ***/
#footer {
    background: #333;
    position: relative;
    height: 102px;
}
.region-footer {
    display: none;
    padding: 18px 18px;
    position: absolute;
    height: 56px;
    overflow: hidden;
    bottom: 46px;
    left: 0;
    right: 0;
    background: #333;
    z-index: 5;
}
.region-footer #block-mainmenu {
    position: relative;
}
.region-footer #block-mainmenu:before, .region-footer #block-mainmenu:after {
    content: "";
    display: table;
}
.region-footer #block-mainmenu>ul.top-menu>li {
    float: left;
    width: 20%;
    padding: 0 46px 0 38px;
}
.region-footer #block-mainmenu>ul.top-menu>li.menu-item--expanded {
    list-style-type: none;
    list-style-image: none;
}
.region-footer #block-mainmenu>ul.top-menu>li>a {
    color: #fff;
    text-transform: uppercase;
}
.region-copyright {
    background: #000;
    padding: 18px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 5;
}
.region-copyright .block {
    margin-left: 20px;
    margin-right: 20px;
}
.copyright .page-content {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
#copyright-container {
    horizontal-align: center;
    text-align: justify;
    width: 808px;
    margin-right: auto;
    margin-left: auto;
      z-index: 5;
}
#copyright-container span {
    display: inline-block;
    margin: 0px 10px 0px 10px;
}
#copyright-container::after {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 0;
	line-height: 0;
	overflow: hidden;

}
#footer ul.top-menu {
    margin-left: 0;
}
.region-footer #block-mainmenu a {
    color: #ddd;
}
nav.footer-menu li.menu-item {
    padding-top: 5px;
    padding-bottom: 5px;
}
.region-footer #block-mainmenu:after {
    clear: both;
}
.region-footer #block-mainmenu>ul.top-menu>li+li:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -40px;
    border-right: 1px solid #666;
    z-index: 5;
}
/*** breakpoints ***/

@media only screen and (min-width: 1180px) {
    .region-header {
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }
      .nav-wrapper .inner-wrapper {
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }
      .region-copyright .block {
        width: 1140px;
        margin-left: auto;
        margin-right: auto;
        z-index: 5;
    }
}
@media only screen and (min-width: 480px) {
    #block-menu-menu-audience-menu {
        width: auto;
        display: block;
        position: absolute;
        top: 30px;
        right: 10px;
        -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
        z-index: 500;
    }
      #block-menu-menu-audience-menu .content, #block-menu-menu-audience-menu ul.top-menu {
        line-height: 32px;
        height: 32px;
    }
      #block-menu-menu-audience-menu .content li a, #block-menu-menu-audience-menu ul.top-menu li a {
        padding: 0 15px;
    }
      #mobile-menu-bar {
        display: none;
    }
    #body > div > div.row.events-filter-row > div.col-md-12.brochure-grid {
  float: right;
  }
}
/* =========================================
   HEADER / NAVIGATION / SEARCH LAYOUT
   Desktop layout:
   - Navigation overlays bottom of header image
   - Search box floats above right side of nav
========================================= */

@media only screen and (min-width: 850px) {

  #header {
    padding-top: 0;
    position: relative;
  }

  .no-slideshow-height {
    height: 200px;
    position: relative;
    overflow: visible;
  }

  /* Logo positioning */
  .no-slideshow-height .site-logo {
    top: 10px;
    z-index: 400;
  }

  .no-slideshow-height .site-logo h2 a {
    width: 103px;
    height: 170px;
  }

  /* =========================================
     MAIN NAV BAR
  ========================================= */

/* Main menu width */
.mega-menu {
  width: calc(100% - 360px);
  min-height: 54px;
  position: relative;
  z-index: 210;
  color: #fff;
  line-height: normal;
  font-weight: bold;
  font-size: 18px;
}

/* Top-level menu items */
/* Menu items */
.mega-menu li {
  position: relative;
}

/* Top-level menu items only should not wrap */
.mega-menu > ul > li,
.mega-menu .navbar-nav > li {
  white-space: nowrap;
}

/* Submenu content must be allowed to wrap */
.mega-menu li > .region,
.mega-menu li > .region *,
.mega-menu .first-level,
.mega-menu .first-level *,
.mega-menu .views-field-description__value,
.mega-menu .views-field-description__value * {
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}

/* Top-level nav links */
.mega-menu li > a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

/* All mega menu links */
.mega-menu a {
  color: #fff;
  text-decoration: none;
}

/* Top-level nav links only */
.mega-menu > ul > li > a,
.mega-menu .navbar-nav > li > a {
  display: block;
  height: 54px;
  line-height: 54px;
  padding: 0 15px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Submenu links only */
.mega-menu li > .region a,
.mega-menu .dropdown-menu a,
.mega-menu .nav-list > li > a {
  display: block;
  height: auto;
  line-height: 1.3;
  padding: 4px 0;
  text-transform: uppercase;
  white-space: normal;
  min-width: 0;
}

/* Dropdown/flyout region */
.mega-menu li > .region {
  width: 650px;
  position: absolute;
  z-index: 15000;
  top: 100%;
  left: 0;
  background: #184569;
  padding: 0 15px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* Show flyout only on hover/focus/open */
.mega-menu li:hover > .region,
.mega-menu li:focus-within > .region,
.mega-menu li.is-open > .region {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Highlight active/open top-level item */
.mega-menu li:hover > a,
.mega-menu li:focus-within > a,
.mega-menu li.is-open > a {
  background: #184569;
}

/* First-level two-column layout */
.mega-menu .first-level > .view-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0.55rem;
  overflow: visible;
}

/* Each menu item + description stays together */
/* First-level menu items */
.mega-menu .first-level .views-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  white-space: normal;
  clear: none;
}

/* Remove old float behavior */
.mega-menu .first-level .views-row:nth-child(2n),
.mega-menu .first-level .views-row:nth-child(2n + 1) {
  padding: 0;
  clear: none;
}

/* Keep each item self-contained */
.mega-menu .first-level .views-row::after {
  content: "";
  display: table;
  clear: both;
}

/* Menu item title */
.mega-menu .first-level .views-field-name {
  font-size: 16px;
  font-weight: bold;

  /* tighter title -> description spacing */
  margin-bottom: 0;
  line-height: 1;
}

/* Description text */
.mega-menu .views-field-description__value {
  display: block;
  clear: both;

  font-size: 15px;
  font-weight: normal;
  color: #ddd;

  /* tighter description lines */
  line-height: 1;

  text-transform: none;
  white-space: normal;

  /* more space before next menu item */
  margin: 0 0 0.4rem;
}

/* Remove default paragraph spacing */
.mega-menu .views-field-description__value div,
.mega-menu .views-field-description__value p {
  margin: 0;
  padding: 0;
  line-height: 1.05;
}
  

/* Prevent dropdown text from forcing overlap */
.mega-menu .region a,
.mega-menu .region .views-field-name,
.mega-menu .region .views-field-description__value {
  white-space: normal;
  overflow-wrap: break-word;
}

/* Hide empty/placeholder links */
.mega-menu a[href$="/node/"] {
  cursor: default;
  text-decoration: none !important;
}
  
@media only screen and (min-width: 850px) {

  .nav-wrapper {
    display: block;
    background: #216093;
    position: relative;

    /* ADJUST THIS:
       larger positive number = moves nav/search lower
       smaller/negative number = moves nav/search higher
    */
    margin-top: 160px;

    z-index: 200;
  }

}
/* Tighten mega-menu flyout spacing */
@media only screen and (min-width: 850px) {

  .mega-menu li > .region,
  .navbar-nav > li > .dropdown-menu {
    width: 700px;
    padding: 8px 15px;
  }

  .mega-menu .first-level .views-row {
    margin: 0 0 0.25rem;
  }

  .mega-menu .first-level .views-field-name,
  .mega-menu .views-field-name,
  .dropdown-menu > li > a,
  .nav-list > li > a {
    line-height: 1.15;
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .mega-menu .views-field-description__value {
    line-height: 1.2;
    margin: 0 0 0.25rem;
    padding: 0;
  }

  .mega-menu .views-field-description__value div {
    margin: 0;
    padding: 0;
  }

  .yamm .yamm-content {
    padding: 4px 0;
    margin: 4px 0;
  }

  /* Tighten Locations & Hours specifically */
  .mega-menu-locations .view-header h2 {
    margin-top: 0.25rem;
    margin-bottom: 0.15rem;
    line-height: 1.15;
  }

  .mega-menu-location {
    margin-bottom: 0.15rem;
  }

  .mega-menu-location__title {
    margin-bottom: 0;
    line-height: 1.15;
  }

  .mega-menu-location__address,
  .mega-menu-location__phone {
    line-height: 1.2;
    margin: 0;
  }
}
  
  
  /* =========================================
     SEARCH BOX POSITIONING
  ========================================= */

  .region-search {
    display: block;
    width: 31.92%;

    position: absolute;
    right: 0;

    /* =====================================
       ADJUST THIS VALUE
       More negative = search moves HIGHER
       Less negative = search moves LOWER
    ====================================== */
    top: -55px;

    bottom: auto;
    z-index: 300;
  }

  .region-search .block {
    margin: 0 10px 0 0;
  }

  /* Optional:
     keeps search from becoming too huge */
  .web-cat-search {
    max-width: 420px;
    margin-left: auto;
  }

  /* Audience menu */
  #block-menu-menu-audience-menu {
    z-index: 500;
  }

  #block-menu-menu-audience-menu .content,
  #block-menu-menu-audience-menu ul.top-menu {
    font-size: 18px;
    line-height: 40px;
    height: 40px;
    margin-left: 0;
  }

  #block-menu-menu-audience-menu .content li a,
  #block-menu-menu-audience-menu ul.top-menu li a {
    padding: 0 15px;
  }

  /* Footer visibility */
  .region-footer {
    display: block;
    z-index: 5;
  }

  .region-footer #block-mainmenu > ul.top-menu > li:not(.menu-item--expanded),
  .top-menu-mlid-6863,
  .menu-mlid-6865,
  .menu-mlid-6864 {
    display: none;
  }
}
@media (max-width: 768px) {
.navbar-nav>li>.dropdown-menu {
    width: 100%;
     padding: 25px;
}
      .navbar-top > div > ul > li > a {
        background: 0 0 !important;
        color: #fff !important;
        background-color: #216093 !important;
    }
  .nav-list > li > a{
     color: #fff;
  }
  #navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(1), #navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(1),
  #navbar-collapse-grid > ul > li:nth-child(10) > ul > li > div > ul:nth-child(2), #navbar-collapse-grid > ul > li:nth-child(4) > ul > li > div > ul:nth-child(2),
  #navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(1),
  #navbar-collapse-grid > ul > li:nth-child(8) > ul > li > div > ul:nth-child(2){
    float: unset;
    width: 100%;
    clear: both;
}
  .navbar-nav .open .dropdown-menu {
     background: #184569;
  }
  .navbar-top .navbar-nav > li > a {
     text-align: center;
  }
}
.events2-reg-card-form:after {
    content: "Enter your Library card number and Last name and we'll look up your details to fill in the next fields.";
    display: block;
    text-align: center;
    padding-top: 10px;
}
