.link, a{text-decoration: none;}
	.link:hover, a:hover{text-decoration: underline;}.link, a{font-weight: normal;}
#header #layout>.amh-row, #header>.amh-row{max-width: 1330px;}
#header #layout>.amh-row>.amh-block>.amh-content, #header>.amh-row>.amh-block>.amh-content{max-width: 1330px;}
#body #layout>.amh-row, #body>div>.amh-row{max-width: 1330px;}
#body #layout>.amh-row>.amh-block>.amh-content, #body>div>.amh-row>.amh-block>.amh-content{max-width: 1330px;}
.bodysize{max-width: 1330px;}
#footer #layout>.amh-row, #footer>.amh-row{max-width: 1330px;}
#footer #layout>.amh-row>.amh-block>.amh-content, #footer>.amh-row>.amh-block>.amh-content{max-width: 1330px;}
.linkcolour, .fc-header h2, .link, .eeventcoming i,.eedate:after,.date-icon:after, a{color: #0075c9;}
.link:hover, a:hover{color: #57a4db;}
.widgetbg{background-color: #ffffff;}
.rssFeed .rssRow,.tweet_list li {border-bottom: 1px solid #cccaca;}
body{
		color: #262626;
		font-family: Arial, 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:#0075c9;
	}
#default_footer a{
		text-decoration: underline;
		color:#0075c9;
	}
.resource_item_header, .button, .button-strip a{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background-color: #0075c9;
	background: #0075c9;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0075c9), color-stop(50%,#0075c9), color-stop(51%,#0075c9), color-stop(100%,#0075c9));
	background: -moz-linear-gradient(top,  #0075c9 0%, #0075c9 50%, #0075c9 51%, #0075c9 100%);
	background: -webkit-linear-gradient(top,  #0075c9 0%,#0075c9 50%,#0075c9 51%,#0075c9 100%);
	background: -o-linear-gradient(top,  #0075c9 0%,#0075c9 50%,#0075c9 51%,#0075c9 100%);
	background: -ms-linear-gradient(top,  #0075c9 0%,#0075c9 50%,#0075c9 51%,#0075c9 100%);
	background: linear-gradient(top,  #0075c9 0%,#0075c9 50%,#0075c9 51%,#0075c9 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0075c9', endColorstr='#0075c9',GradientType=0 );
	border: 0px solid #0075c9;
	color: #ffffff;
}
.resource_item_header:hover, .button:hover, .button:focus, .button_open, .button-strip-active a, .button-strip a:hover{
	background: #005796;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005796), color-stop(50%,#005796), color-stop(51%,#005796), color-stop(100%,#005796));
	background: -moz-linear-gradient(top,  #005796 0%, #005796 50%, #005796 51%, #005796 100%);
	background: -webkit-linear-gradient(top,  #005796 0%,#005796 50%,#005796 51%,#005796 100%);
	background: -o-linear-gradient(top,  #005796 0%,#005796 50%,#005796 51%,#005796 100%);
	background: -ms-linear-gradient(top,  #005796 0%,#005796 50%,#005796 51%,#005796 100%);
	background: linear-gradient(top,  #005796 0%,#005796 50%,#005796 51%,#005796 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005796', endColorstr='#005796',GradientType=0 );
	border: 0px solid #000000;
	color: #ffffff;
}
.button a, .button-strip a{
	color: #ffffff;
	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 #0075c9;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.resource_item_open .resource_item_header{
	border: none;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}
h1, h2, h3, h4, h5, h6, .heading1, .heading2, .heading3, .heading4, .heading5{
	color: #474747;
	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: #ffffff;
	color: #ffffff;
}
.widget_tab:hover, .widget_tab_selected{
	background: #ffffff;
	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: bold;
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
	color: #262626;
}
.vtab{
	font-weight: bold;
	background: #ffffff;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(-90deg,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(-90deg,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	color: #262626;
}
.vtab:hover, .vtab_selected{
	background: #001489;
	background: -webkit-gradient(linear, right, left, color-stop(0%,#001489), color-stop(50%,#001489), color-stop(51%,#001489), color-stop(100%,#001489));
	background: -moz-linear-gradient(-90deg,  #001489 0%, #001489 50%, #001489 51%, #001489 100%);
	background: -webkit-linear-gradient(-90deg,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: -o-linear-gradient(-90deg,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: -ms-linear-gradient(-90deg,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: linear-gradient(-90deg,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001489', endColorstr='#001489',GradientType=0 );
	color: #ffffff;
}
.navbar-top>div>ul>li>a, .navbar-top>div>ul>li>a:focus, .nav-mobile a{
	background: #ffffff;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#ffffff), color-stop(51%,#ffffff), color-stop(100%,#ffffff));
	background: -moz-linear-gradient(top,  #ffffff 0%, #ffffff 50%, #ffffff 51%, #ffffff 100%);
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	background: linear-gradient(top,  #ffffff 0%,#ffffff 50%,#ffffff 51%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );

	color: #262626;
	border-right: 0px solid #ffffff;
	border-left: 0px solid #ffffff;
	border-top: 0px solid #ffffff;
	-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: #001489;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#001489), color-stop(50%,#001489), color-stop(51%,#001489), color-stop(100%,#001489));
	background: -moz-linear-gradient(top,  #001489 0%, #001489 50%, #001489 51%, #001489 100%);
	background: -webkit-linear-gradient(top,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: -o-linear-gradient(top,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: -ms-linear-gradient(top,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	background: linear-gradient(top,  #001489 0%,#001489 50%,#001489 51%,#001489 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001489', endColorstr='#001489',GradientType=0 );
	color: #ffffff;
}
.tab a{
	color: #262626;
}
.tab a:hover, .navbar-top a.current:hover{
	color: #ffffff;
}
.tab-bar{
	border-bottom: 1px solid #ffffff;
}
@media (max-width: 767px) {
	.tab{
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
	.tab-bar{
		border: none;
	}
}
#responsiveheader{
	font-family: Arial, 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/tbpl/);
}
#responsiveheadermessage p:before{
	content:'';
}
#responsiveheaderaltmessage p:before{
	content:'';
}
.widget{
	border: 1px solid #000000;
	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: bold;
	-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: 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 );
}
.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: #474747;
}
.pagination>.active>a, .pagination>.active>a:hover{
	background-color: #474747;
	border-color: #474747;
}
.pagination>li>a, .pagination>li>a:hover{
	color: #474747;
}
.polaris-nav-active i{
	color: #474747;
}
.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: #262626;}
.headingtext{color: #474747;}
/* 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 {
    font-size: 16px;
}

body {
    font-size: 1rem;
    font-family: "Open Sans", Arial, sans-serif;
}

.button {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.25rem;
    padding: 15px 20px;
}

#header>.amh-row,
#body>div,
#footer>.amh-row {
    padding: 0 15px;
}

.__visuallyhidden,
.a11y-visually-hidden {
    position: absolute !important;
    left: -999em !important;
    top: -999em !important;
}

/*========== HEADER ==========*/
#header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  margin-bottom: 20px;
}

#header p {
    padding: 0px;
    margin: 0px;
}

/* top header */
#header > div:nth-child(1) {
  border-bottom: 3px solid #001489;
}

.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-header > .header-link > a {
  display: flex;
  align-items: center;
  color: #02729e;
  font-size: 0.875rem;
  line-height: 1.485;
  padding: 12px 5px;
  margin: 0 20px 0 0;
}

.top-header > .header-link > a > i:nth-child(1) {
  width: 14px;
  margin: 0 2.8px;
}

.top-header > .header-link > a > i:last-child {
  font-size: 9px;
  margin-left: 3.5px;
}

.top-header > .header-link:nth-child(3) > a {
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.485;
  font-weight: 600;
  background: #001489;
  padding: 12px 20px 12px 12px;
  margin: 0;
}

.top-header > .header-link:nth-child(3) > a > i:last-child {
  margin-left: 5.5px;
}

.top-header-dropdown-menu {
  display: none;
  position: absolute;
  z-index: 4;
  padding: 25px 20px;
  background: #fff;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.header-link:has(>.active) .top-header-dropdown-menu {
  display: block;
}

.header_help_menu {
  transform: translate(-210px, 3px);
  min-width: 302px;
}

.header_help_menu button {
  background: #001489;
  border-radius: 0;
}

.header_help_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.header_help_menu ul a {
  font-size: 0.875rem;
  line-height: 2.14;
  color: #02729e;
  padding: 0;
}

.biblionav_my_account {
  min-width: 260px;
  right: -15px;
  list-style: none;
  padding: 5px 0;
  margin: 3px 0 0 0;
}

.biblionav_my_account .divider {
    height: 1px;
    margin: 6px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}

.biblionav_my_account > li > a {
  display: block;
  color: #666;
  font-size: 0.875rem;
  padding: 8px 20px;
}

.biblionav_my_account > li > a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.biblionav_my_account > li:nth-child(1) {
    background: #f5f5f5;
    padding: 10px 15px;
}

.biblionav_my_account > li:nth-child(1) > a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.485;
  color: #fff;
    background: #008001;
    padding: 6px 10px;
  border-radius: 0;
      -moz-box-shadow: inset 0px -4px 0px 0px rgba(0,0,0,0.2);
    box-shadow: inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2);
}

.biblionav_my_account > li:nth-child(1) > a:hover {
  background: #3d6f38;
}

.biblionav_my_account > li:nth-child(2) {
    margin: 0 0 6px;
}

.biblionav_my_account .dropdown-header {
  color: #333;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 3px 20px;
  text-transform: uppercase;
}

.biblionav_my_account > li:nth-child(6) > a,
.biblionav_my_account > li:nth-child(7) > a,
.biblionav_my_account > li:nth-child(8) > a,
.biblionav_my_account > li:nth-child(11) > a,
.biblionav_my_account > li:nth-child(12) > a,
.biblionav_my_account > li:nth-child(13) > a,
.biblionav_my_account > li:nth-child(14) > a {
  padding-left: 35px;
}

/* logo and search bar */
#idvD9Gj {
  display: flex;
  align-items: center;
  padding: 14px 0;
}

#idvD9Gj > div {
  width: auto;
}

/* logo */
.header-logo-mobile {
  display: none;
}

.header-logo img {
  max-width: 191.17px;
}

/* search bar */
#idvD9Gj > div:nth-child(2) {
  padding-top: 15px;
  margin-left: auto;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar span {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 12px;
  transform: translate(-2.5px, -2.5px);
}

.catalogue-type-text,
.website-type-text,
#catalogue-type,
#website-type {
  display: none;
}

.search-bar select {
  font-size: 0.875rem;
  color: #666;
  padding: 6px 25px 6px 8px;
  border-radius: 0;
  border: 1px solid #ccc;
}

form.catalogue .catalogue-type-text, 
form.catalogue #catalogue-type {
  display: block;
}

form.website .website-type-text, 
form.website #website-type {
  display: block;
}

.search-bar input {
    padding: 6px 12px;
    margin-left: 20px;
    line-height: 1.25;
    border-radius: 0;
    border: 1px solid #ccc;
    width: 413.5px;
}

.search-bar button {
  color: #fff;
  background: #001489;
  padding: 5px 15px;
  height: 100%;
  border: 1px solid #001489;
}

.search-bar .fa-search {
  font-size: 13px;
}

.advanced-catalog-search {
  float: right;
  font-size: 0.74375rem;
  transform: translate(0, 4px);
}

.mobile-search-toggle {
  display: none;
}

@media (max-width: 1360px) and (min-width: 992px) {
  .search-bar input {
    /* width to go from 413.5px when window = 1360px -> 175px when window = 992px */
    width: calc(((( 100vw - 992px ) / 368) * 238.5) + 175px);
  }
}

@media (max-width: 991px) {
  /* top nav */
  .header_help_menu {
    transform: translate(0px, 4px);
    left: 0;
    right: 0;
  }
  
  .biblionav_my_account {
    right: -15px;
    left: -15px;
  }
  
  /* logo and search */
  #idvD9Gj {
    flex-direction: column;
    padding: 14px 0 0;
  }
  
  #idvD9Gj > div {
    width: 100%;
  }
  
  #idvD9Gj > div:nth-child(2) {
    padding: 0;
    margin-left: 0;
  }
  
  .header-logo {
    display: none;
  }
  
  .header-logo-mobile {
    display: block;
  }
  
  .header-logo-mobile a {
    text-decoration: none;
  }
  
  .header-logo-mobile img {
    width: 100%;
    max-width: 65px !important;
  }
  
  /* search bar */
  .mobile-search-toggle {
    position: absolute;
    top: -35px;
    right: 15px;
    display: block;
    margin-left: auto;
    width: max-content;
    cursor: pointer;
    padding: 0px 15px;
    margin-top: -10px;
  }
  
  .search-bar-wrapper.open .mobile-search-toggle {
     padding: 10px 15px;
  }
  
  .mobile-search-toggle i {
    font-size: 1.635rem;
    color: #000;
  }
  
  .search-bar-wrapper.open .mobile-search-toggle {
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-bottom: none;
  }
  
  .search-bar-wrapper.open .mobile-search-toggle i::before {
    content: "\f00d";
  }
  
  .search-bar, .advanced-catalog-search {
    display: none;
  }
  
  .search-bar-wrapper.open .search-bar {
    display: flex;
    flex-wrap: wrap;
  }
  
  .search-bar-wrapper {
    position: relative;
    background-color: #f2f2f2;
    width: 100vw;
    margin-left: -15px;
  }
  
  .search-bar-wrapper.open {
    border-top: 1px solid #ccc;
    padding: 15px 15px 45px;
  }
  
  .search-bar select {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .search-bar span {
    font-size: 0rem;
    margin: 0;
  }
  
  .search-bar > span:nth-child(1)::before {
    content: "Search";
    font-size: 1.09375rem;
    font-weight: 500;
    margin: 0 0 10px;
  }
  
  .search-bar input {
    width: calc(100% - 45px);
    margin: 0;
  }
  
  .search-bar-wrapper.open .advanced-catalog-search {
    display: block;
  }
}

@media (max-width: 767px) {
  /* top header */
  .top-header {
    justify-content: flex-start;
  }
  
  .top-header > .header-link:nth-child(1) > a > i:nth-child(1),
  .top-header > .header-link:nth-child(2) > a > i:nth-child(1) {
    font-size: 18px;
    width: auto;
  }
  
  .top-header > .header-link:nth-child(2) > a > i:nth-child(1) {
    margin: 0;
  }
  
  .top-header > .header-link:nth-child(1) > a > i:nth-child(3),
  .top-header > .header-link:nth-child(1) > a > span,
  .top-header > .header-link:nth-child(2) > a > i:nth-child(3),
  .top-header > .header-link:nth-child(2) > a > span {
    display: none;
  }
  
  .top-header > .header-link:nth-child(3) {
    margin-left: auto;
  }
}

/*========== NAVIGATION ==========*/
/* hides the home tab - which is actually the second menu item DO NOT DELETE */
.navbar-top ul.navbar-nav>li:nth-child(2) {
    display: none;
}

/* removes default border and radius from navbar */
#navbar>.navbar {
    border: none;
    border-radius: 0;
}

/* changes dropdown arrow icons */
.fa-sort-desc {
  font-size: 9px;
  /*transform: translate(0px, -1px);*/
  margin: 0 0 0 5px;
}

.fa-sort-desc::before {
    content: "\f078";
}

/* hides MENU text in mobile view */
.navbar-brand {
    display: none;
}

#idLnsVZ > div {
  width: 100%;
  min-height: 0px;
}

.mobile-nav-wrapper {
  display: none;
}

/* hidden column headings */
#navbar .navbar-nav>li:nth-child(4) > ul > li>div>ul:nth-child(2)>li .heading4,
#navbar .navbar-nav>li:nth-child(12) > ul > li>div>ul:nth-child(3)>li .heading4 {
    display: none;
}
  
  /* dropdown title */
.dropdown-menu>li>div>ul:nth-child(1) .heading4 {
    font-size: 1.5rem;
    padding: 0;
}
  
.dropdown-menu>li>div>ul:nth-child(1) > ul {
    display: none;
}

#navbar .navbar-nav>li>a {
  display: flex;
  align-items: center;
}

a > i.fa-calendar,
.mobile-calendar-open > i.fa-calendar {
  font-size: 0px !important;
  color: transparent !important;
  background-image: url("https://tbpl.libnet.info/frontend-images/headers/tbpl/tbpl_icon_calendar.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 17px;
  height: 17px;
  margin: 0 7px 0 0;
}

a:hover > i.fa-calendar {
  background-image: url("https://tbpl.libnet.info/frontend-images/headers/tbpl/tbpl_icon_calendar_hover.png");
}

.mobile-calendar-open > i.fa-calendar {
  width: 28px;
  height: 28px;
}

/* Desktop Nav styling */
@media (min-width: 992px) {
    #navbar-collapse-grid,
    #navbar .navbar-nav {
        padding: 0 7.5px;
        width: 100%;
    }
  
    /* nav bar */
    #navbar .navbar-nav>li>a {
        font-size: 1rem;
        font-weight: 600;
        padding: 15px 15.5px;
    }
  
    #navbar .navbar-nav>li>a > i {
        color: inherit;
    }
  
  /*
  #navbar .navbar-nav>li:nth-child(6) > a > i.fa-calendar {
    margin: 0 9px 0 3px;
  }
  */
  
    #navbar .navbar-nav>li:nth-child(14)>a {
        background: #0075C9;
        color: #fff;
    }
  /*============ menu-type: full (columns with headers) ============*/
  /* on click dropdowns working better */
  #navbar .navbar-nav>li.open > .dropdown-menu {
    display: none;
  }
  
  #navbar .navbar-nav>li.active > .dropdown-menu {
    display: block;
  }
  
  /* navigation dropdown menus (menu-type: full) */
    #navbar .dropdown>.dropdown-menu {
        position: absolute;
        top: initial;
        overflow: hidden;
        background: #e6f2fa;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0px;
        max-width: 100vw;
        width: 100vw;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    }

    .dropdown-menu>li>.yamm-content {
        padding: 0px;
    }

    /* columns */
  .dropdown-menu>li>div.yamm-content {
    display: flex;
    padding: 35px 10px;
    margin: auto;
    max-width: 1360px;
  }
  
    .dropdown-menu>li>div>ul:last-child {
      display: none;
    }
  
    .dropdown-menu>li>div>ul {
        width: 15%;
        border-right: 1px solid #cccac8;
        padding: 0 15px;
    }
  
  .dropdown-menu>li>div>ul:first-child {
        border-right: none;
        padding: 0;
       width: 12%;
    }
  
  .dropdown-menu>li>div>ul:nth-last-child(2) {
        border-right: none;
    }
  /* last dropdown last column */
  #navbar .navbar-nav>li:nth-child(12) > ul > li>div>ul:nth-child(4) {
    width: 35%;
  }
  
  /* column headings */
    .dropdown-menu>li>div>ul>li .heading4 {
        display: block;
        color: #262626;
        font-size: 1rem;
        font-weight: 700;
        padding: 8px 15px;
    }
  
  /* navigation dropdown submenus(column contents) (menu-type: full) */
    .dropdown-menu>li>div>ul>ul {
        padding: 0;
        width: 100%;
    }

    .dropdown-menu>li>div>ul>ul>li>a {
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.485;
        text-wrap: wrap;
        padding: 8px 15px;
        cursor: pointer;
    }
  
  .dropdown-menu>li>div>ul>ul>li:has(>ul)>a {
    font-weight: 700;
  }
  
  .dropdown-menu>li>div>ul>ul>li>a:hover {
    background: #001489;
    color: #fff;
    text-decoration: underline;
  }
  
  .dropdown-menu>li>div>ul>ul>li>ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .dropdown-menu>li>div>ul>ul>li>ul>li>a {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.485;
    text-wrap: wrap;
    cursor: pointer;
    padding: 8px 15px 8px 15px;
    margin-left: 10px;
    display: block;
  }
  
  .dropdown-menu>li>div>ul>ul>li>ul>li>a:hover {
    background: #001489;
    color: #fff;
  }
}

/* Mobile Nav styling */
@media (max-width: 991px) {
  .mobile-nav-wrapper {
    display: flex;
    position: absolute;
    top: -56px;
    left: 80px;
  }
  
  .mobile-nav-wrapper.search-open {
    top: -275.5px;
  }
  
  .mobile-menu-open {
    color: #000;
    font-size: 24px;
    padding: 8px 10px;
    margin-right: 15px;
    cursor: pointer;
    display: flex;
  }
  
  .mobile-calendar-open {
    color: #000;
    font-size: 24px;
    padding: 8px 15px;
    border-left: solid 1px #e4e4e4;
    cursor: pointer;
    display: flex;
  }
  
  .mobile-menu-open i,
  .mobile-calendar-open i {
    color: inherit;
    font-size: inherit;
  }
  
  .mobile-menu-open.active,
  .mobile-calendar-open.active {
    color: #001489;
    font-size: 40px;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.16);
    position: fixed;
    top: 0px;
    right: 15px;
    z-index: 4;
    padding: 5px 12px 0;
    border: none;
    border-radius: 0 0 5px 5px;
  }
  
  .mobile-menu-open.active i::before,
  .mobile-calendar-open.active i::before {
    content: "\f00d";
  }
  
  .navbar-header.visible-xs.nav-mobile {
    display: none !important;
  }
  
  #navbar-collapse-grid {
    display: none !important;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 3;
    background: #fff;
  }
  
  #navbar-collapse-grid.active-menu,
  #navbar-collapse-grid.active-calendar {
    display: block !important;
  }
  
  #navbar-collapse-grid.active-menu .navbar-nav>li:nth-child(6) {
    display: none;
  }
  
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(4),
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(8),
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(10),
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(12),
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(14) {
    display: none;
  }
  
  #navbar-collapse-grid.active-calendar .navbar-nav>li:nth-child(6) > .dropdown-menu {
    display: block;
  }
  
  /* nav bar */
  .navbar-nav {
    float: none;
    display: flex;
    flex-direction: column;
    padding: 20% 10%;
    margin: 0;
    width: 100%;
    max-height: 100vh;
    overflow-y: scroll;
  }
  
    #navbar .navbar-nav>li>a {
        font-size: 1rem;
      line-height: 2.8125;
        font-weight: 600;
        padding: 15px 15.5px;
      color: #262626 !important;
      background: transparent !important;
        background-color: transparent !important;
    }
  
    #navbar .navbar-nav>li>a > i {
        color: inherit;
    }
  
  #navbar .navbar-nav>li:nth-child(6) > a > i.fa-calendar {
    margin: 0 9px 0 3px;
  }
  
    #navbar .navbar-nav>li:nth-child(14)>a {
        background: #0075C9 !important;
        color: #fff !important;
      line-height: 1.25;
      width: max-content;
    }
  
  /* dropdown menus */
  #navbar .navbar-nav>li.active > .dropdown-menu {
    display: block;
  }
  
  #navbar .navbar-nav>li > .dropdown-menu {
    position: relative;
    top: auto;
    padding: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.16);
  }
  
  /* columns */
  .dropdown-menu>li>div.yamm-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100%;
  }
  
  .dropdown-menu>li>div>ul:first-child {
    display: none;
  }
  
  /* column headings */
    .dropdown-menu>li>div>ul>li .heading4 {
        display: block;
        color: #262626;
        font-size: 1rem;
        font-weight: 400;
        padding: 30px 15px 8px 5px;
    }
  
  /* column contents */
  .dropdown-menu>li>div>ul>ul>li>a {
        font-size: 1.125rem;
        font-weight: 400;
        line-height: 1.485;
        text-wrap: wrap;
        padding: 8px 15px;
        cursor: pointer;
  }
  
  .dropdown-menu>li>div>ul>ul>li:has(>ul)>a {
    font-weight: 700;
  }
  
  .dropdown-menu>li>div>ul>ul>li>a:hover {
    background: #001489;
    color: #fff;
    text-decoration: underline;
  }
  
  .dropdown-menu>li>div>ul>ul>li>ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .dropdown-menu>li>div>ul>ul>li>ul>li>a {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.485;
    text-wrap: wrap;
    cursor: pointer;
    padding: 8px 15px 8px 15px;
    margin-left: 10px;
    display: block;
  }
}

/*========== FOOTER ==========*/
#footer {
    margin-bottom: 0;
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer p {
    margin: 0;
}

#footer > #idyDPbw {
  padding: 40px 40px 38px;
}

#footer #id6VYfn > .amh-content,
#footer #idnVhYK > .amh-content {
  max-width: none;
}

/* top message */
#footer > #idyDPbw p {
  font-weight: 700;
  font-style: italic;
}

/* main footer */
#footer > #idkzwQ6 {
  border-top: 5px solid #0075c9;
  box-shadow: 0 4px 2px -2px #ccc;
  display: flex;
  justify-content: center;
}

#footer > #idkzwQ6 > div {
  max-width: 1260px !important;
  padding: 40px 20px 75px;
  margin: auto;
}

/* columns */
.footer-menu-column h3 {
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  padding: 0;
}

.footer-menu-column a {
  display: block;
  color: #474747;
  font-size: 0.94rem;
  line-height: 1.26;
}

#idVxZJl {
  display: flex;
}

#idVxZJl > div:not(:first-child) {
  padding: 0 0 calc(1% - 0.5px) calc(1% - 0.5px);
  width: calc(18% + 3px);
  min-width: calc(164.5px + 1%);
}

/* column 1 */
#idVxZJl > div:nth-child(1) {
  width: max-content;
  padding-left: 50px;
  margin-right: 20px;
}

#footer .social-links-wrapper a {
    display: flex;
    align-items: center;
    position: relative;
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 50%;
}

#footer .social-links-wrapper a.social-facebook {
  background: #1877F2;
}

#footer .social-links-wrapper a.social-facebook:hover {
  background: #0b5fcc;
}

#footer .social-links-wrapper a.social-instagram {
  background: #DD3275;
}

#footer .social-links-wrapper a.social-instagram:hover {
  background: #bd1f5d;
}

#footer .social-links-wrapper a.social-youtube {
  background: #ED1D24;
}

#footer .social-links-wrapper a.social-youtube:hover {
  background: #c71016;
}

#footer .social-links-wrapper a.social-linkedin {
  background: #2967BC;
}

#footer .social-links-wrapper a.social-linkedin:hover {
  background: #205092;
}

#footer .social-links-wrapper a.social-tiktok {
  background: #000;
}

#footer .social-links-wrapper a.social-tiktok:hover {
  background: #333;
}

#footer .social-links-wrapper a.social-newsletter {
  background: #001489;
}

#footer .social-links-wrapper a.social-newsletter:hover {
  background: #000d56;
}

/* column 6 */
#footer .footer-contact-info.large-footer {
  background: #0075c9;
  color: #fff;
    font-size: 1em;
  line-height: 1.5;
    padding: 15px 6%;
    min-width: calc(6% + 125px);
    width: 100%;
}

#footer .footer-contact-info.large-footer a {
  color: #fff;
  line-height: 1.1875;
  text-decoration: underline;
  font-weight: 600;
}

#footer .feedback-btn {
    background: #001489;
    border: 1px solid transparent;
    color: #fff;
    fill: #fff;
    padding: 6px 16px 8px;
    margin-top: 10px;
    font-size: 0.875em;
    line-height: 1.5;
    display: block;
    width: 100%;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
}

#footer .feedback-btn:hover {
    background: #000d56;
  text-decoration: none;
}

/* bottom footer */
#footer #id1ui74 {
  max-width: 1260px !important;
  padding: 15px 20px 10px;
}

#idTrIWT {
  text-align: right;
}

#footer #idTrIWT .footer-green-link {
    color: #666;
    font-size: 0.94rem;
    line-height: 1.6;
    text-decoration: underline;
    margin: 0 0 10px 20px;
    display: block;
}

.gtranslate_wrapper {
  margin-bottom: 5px;
}

#footer #idTrIWT .google-text-beneath {
  color: #666;
  font-size: 0.6875rem;
  line-height: 2.18;
}

#footer #idhFxz3 {
  max-width: 1260px !important;
  padding: 0px 20px 20px;
}

#footer #idhFxz3 .footer-bottom-copyright {
  text-align: right;
}

#footer #idhFxz3 .footer-bottom-copyright > a {
  color: #474747;
  font-size: 0.94rem;
  line-height: 1.26;
  text-decoration: underline;
  margin-right: 5px;
}

#footer #idhFxz3 .footer-bottom-copyright > .copyright-statement {
  color: #474747;
  font-size: 0.75rem;
  line-height: 2;
}

/* version message */
#footer #idScN56 {
  display: none;
  padding: 10px 15px;
  margin-bottom: 20px;
  background: #e5e5e5;
}

#footer #idScN56 p.powered-by {
  color: #474747;
  font-size: 0.875rem;
  line-height: 1.36;
}

#footer #idScN56 p.version-string {
  color: #474747;
  font-size: 0.75rem;
  line-height: 1.58;
}

@media (max-width: 1160px) {
  #idVxZJl {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  #footer #idVxZJl > div:nth-child(6) {
    width: 100vw;
    padding: 0;
  }
  
  #footer .footer-contact-info.large-footer {
    padding: 15px 0 15px 117px;
  }
  
  #footer .feedback-btn {
    width: 180px;
    margin-left: 117px;
  }
}

@media (max-width: 480px) {
  #footer #idVxZJl > div {
    width: 100%;
    padding-left: 70px;
  }
  
  #idVxZJl > div:not(:first-child) {
    margin-top: 10px;
  }
  
  #idVxZJl > div:nth-child(1) {
    padding-left: 0;
  }
  
  #footer .social-links-wrapper ul {
    display: flex;
  }
  
  #footer .social-links-wrapper a {
    margin: 5px 5px 10px;
  }
  
  #idVxZJl > div:nth-child(5) {
    padding-bottom: 65px;
  }
  
  #idVxZJl > div:nth-child(6) {
    padding: 0;
  }
  
  #footer .footer-contact-info.large-footer {
    padding: 15px 0 15px 70px;
  }
  
  #footer .feedback-btn {
    margin-left: 70px;
  }
  
  #footer > #idkzwQ6 {
    box-shadow: none;
  }
  
  #footer > #idkzwQ6 > div {
    padding-bottom: 25px;
  }
  
  #footer #id1ui74 {
    padding: 15px 70px 10px;
  }
  
  #footer #idTrIWT .footer-green-link {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  #footer #idhFxz3 {
    padding: 20px 0px;
    border-top: 1px solid #949494;
    margin: 30px 70px 15px;
  }
}

/*========== CUSTOM EVENTS WIDGETS ========*/
div[data-widgetid="20813"] .amev-event-list {
  height: 500px;
}



/*========== EVENTS PAGE =========*/
#body.events-page {
    padding: 20px 0 60px;
}

/* removes negative side margins (messes up mobile view sometimes) */
.row.events-filter-row,
.row.events-view-row {
    margin-right: 0;
    margin-left: 0;
}
