body {
  color: #4d4d4d;
  background: #EEEEF1;
  font-size: 14px;
  font-family: "Arial", sans-serif;
}

.fonts-loaded,
.fonts-loaded body, .fonts-loaded button, .fonts-loaded input, .fonts-loaded optgroup, .fonts-loaded option, .fonts-loaded select, .fonts-loaded textarea {
  font-family: "Arial", sans-serif;
}

body#basket {
  background: #FFF;
  text-align: left;
}

#wrapper {
  padding-left: 0;
  padding-right: 0;
}

a:link, a:visited {
  color: #0076b2;
}

a, a:visited, a:hover {
  border: none;
}

a, a:visited {
  color: #666666;
  border-bottom: 1px dotted #ccc;
}

a:hover,
a:focus,
input.editshelf:hover,
a.editshelf:hover,
input.deleteshelf:hover {
  color: #333333;
  text-decoration: none;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 15px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
  color: #5B7E82;
  margin: 10px 0;
}

.main {
  border: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

legend,
fieldset.rows legend {
  color: #5d7f82;
}

/*details page*/
div.nav_results {
  display: none;
}

#bookcover a {
  border-bottom: 0;
}

#action {
  background: none;
  border: 0;
}
#action li {
  background-color: #e8f3f3;
  margin-bottom: 5px;
}
#action li .dropdown-menu li {
  background-color: transparent;
}
#action li .dropdown-menu li a:hover,
#action li .dropdown-menu li a:focus {
  text-decoration: underline;
}
#action li a,
#action li a:hover,
#action li a:focus {
  border: 0;
}

#export .dropdown-menu .dropdown-header,
#moresearches_menu .dropdown-menu .dropdown-header {
  padding: 0 23px;
  color: #fff;
  border-bottom: 0;
}
#export .dropdown-menu a,
#moresearches_menu .dropdown-menu a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}
#export .dropdown-menu a:hover,
#moresearches_menu .dropdown-menu a:hover {
  text-decoration: underline;
}

.view a,
.view a:hover,
.view a:focus {
  border-bottom: 0;
  background-color: #e8f3f3;
  border-left: 0;
}

/* search column */
#search-facets {
  border: 0;
}
#search-facets h4 {
  font-size: 15px;
  margin-bottom: 0;
}
#search-facets h4 a {
  border-bottom: 0;
}
#search-facets h5 {
  margin-bottom: 0;
}
#search-facets ul {
  border: 1px solid #F2F2EF;
}
#search-facets ul ul {
  border: 0;
  margin-bottom: 10px;
}
#search-facets a {
  text-decoration: none;
}

/* left menu */
#OpacNav {
  border-top: 1px dotted #666;
}
#OpacNav ul {
  list-style: none;
  padding: 0px;
  margin: 0 0 20px 0;
}
#OpacNav li {
  border-bottom: 1px dotted #666;
  padding: 7px 0px;
  margin: 0px;
}
#OpacNav li a {
  border-bottom: 0;
  font-weight: bold;
}
#OpacNav li a:hover {
  border-bottom: 0;
  text-decoration: underline;
}

#menu h4 {
  margin-bottom: 0;
}
#menu h4 a {
  border-bottom: 0;
}
#menu li a:hover {
  background-color: #dfeeef;
}
#menu a {
  text-decoration: none;
}

/*tabs*/
.ui-tabs .ui-tabs-nav li a,
.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
  border-bottom: 0;
}

.ui-tabs .ui-state-default a,
.ui-tabs .ui-state-default a:link,
.ui-tabs .ui-state-default a:visited {
  color: #666;
}

.ui-tabs .ui-tabs-nav li {
  background-color: #e8f3f3;
}

.table .sorting_asc,
.table .sorting,
.table .sorting_desc,
th {
  background-color: #EEE;
}

.toolbar a {
  color: #5d7f82;
}

body#advsearch #moresearches {
  margin-top: 10px;
}

a.cancel {
  padding-left: 0;
  margin-left: 1em;
}

table#marc {
  border: 0;
}

.online_resources a,
label {
  font-weight: bold;
  font-size: 130%;
}

#MARCview,
#Normalview {
  display: none;
}

/* Hide the no image found image */
.no-image {
  display: none !important;
}

/* Change Subscribe to button font colour to white */
.email_notifications a {
  color: white !important;
}

/* Change Suspend button font color to white */
a.btn.btn-link.js-show {
  color: white !important;
}

/* Change button to not be maroon when clicked */
#action a:focus,
#actiona:active {
  background-color: #e8f3f3;
  color: #000;
}

.breadcrumb {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
  font-size: 12px;
  background: none;
  padding: 0;
  display: none;
}
.breadcrumb a {
  font-weight: normal;
}

.breadcrumb {
  display: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
input.btn[type=submit],
input.btn[type=submit]:hover,
input.btn[type=submit]:focus,
.btn:focus {
  background: #3E5D58;
  border: none;
  color: #FFF;
  text-shadow: none;
  box-shadow: none;
}

.btn-link,
.btn-link:hover {
  color: #666666;
}

/*footer*/
.main + .container-fluid {
  background: #7ABC64;
  padding-left: 0;
  padding-right: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.main + .container-fluid .row {
  margin-left: 0;
  margin-right: 0;
}
.main + .container-fluid .row > .col {
  padding-left: 0;
  padding-right: 0;
}

#wrapper > .container-fluid:last-child {
  background-color: #7ABC64;
  max-width: 1200px;
  margin: 0 auto;
}

#opaccredits {
  padding: 20px;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
#opaccredits a {
  color: #fff;
  display: inline;
}

#copyright {
  font-size: 13px;
}

#links {
  float: left;
}

#catalyst,
#poweredbykoha {
  margin-right: 15px;
  float: right;
  font-size: 13px;
}

#catalyst img {
  width: 80px;
  height: auto;
}

#logo {
  display: none;
}

#header-region {
  background: #3E5D58;
  max-width: 1200px;
  margin: 0 auto;
}
#header-region > .navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 40px;
}
#header-region > .container-fluid {
  padding-left: 0;
  padding-right: 0;
  background: #fff;
}
#header-region > .container-fluid .row {
  margin-left: 0;
  margin-right: 0;
}
#header-region > .container-fluid .row > .col {
  padding-left: 0;
  padding-right: 0;
}

#opacheader {
  border-bottom: 5px solid #7abc64;
  background: none;
  height: 92px;
}
@media (min-width: 608px) {
  #opacheader {
    background: url(6eb847ade12dbfdbf29c.png) no-repeat 250px top;
    height: 160px;
    border-bottom: 35px solid transparent;
    -o-border-image: linear-gradient(to right, #7abc64 0%, #7abc64 100%);
       border-image: linear-gradient(to right, #7abc64 0%, #7abc64 100%);
    border-image-slice: 1;
  }
}
@media (min-width: 1120px) {
  #opacheader {
    background: url(6eb847ade12dbfdbf29c.png) no-repeat right top;
  }
}
#opacheader .en-NZ_body, #opacheader .default_body, #opacheader .en_body, #opacheader .mi-NZ_body {
  max-width: 1200px;
  margin: 0 auto;
}
#opacheader .en-NZ_body img, #opacheader .default_body img, #opacheader .en_body img, #opacheader .mi-NZ_body img {
  max-width: 200px;
  margin: 10px 25px;
  float: left;
}
@media (min-width: 608px) {
  #opacheader .en-NZ_body img, #opacheader .default_body img, #opacheader .en_body img, #opacheader .mi-NZ_body img {
    max-width: 225px;
    margin: 28px 25px;
    float: left;
  }
}
#opacheader a {
  border-bottom: 0;
}
#opacheader a:hover, #opacheader a:focus {
  border-bottom: 0;
}

/*cart and lists*/
#carticon,
.fa.fa-list.fa-icon-white,
.fa.fa-user.fa-icon-white {
  color: #ffffff;
}

.cartlabel, .listslabel {
  color: #FFFFFF;
}

#basketcount span {
  background-color: #7ABC64;
  color: #FFF;
}

.dropdown-menu {
  background: #3E5D58;
  color: #FFF;
  border: 0;
}
.dropdown-menu .dropdown-item {
  color: #fff;
  font-size: 12px;
}
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus {
  background: #7ABC64;
}

.dropdown-toggle:after {
  border-top-color: #fff;
}

.navbar-nav > li > a {
  font-size: 14px;
}
.navbar-nav > li > a .fa {
  color: #fff;
}

.dropdown-menu > li > a {
  background: none;
  color: #ffffff;
  border-bottom: 0;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
  text-decoration: underline;
  background: none;
  filter: none;
  border-bottom: 0;
}

a.listmenulink:link,
a.listmenulink:visited {
  color: #FFF;
}

.nav > li > a,
.nav > li > a:hover {
  border-bottom: 0;
}

#members {
  font-size: 12px;
}
#members a {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
}
#members a.logout {
  color: #FFFFFF;
  font-weight: 400;
}
#members a.clearsh {
  color: #fff;
  font-size: 12px;
}
#members a.clearsh:hover {
  color: #e8583c;
}
#members a:hover {
  color: #fff;
}
#members p {
  margin: 0;
}
#members a.login-link:hover {
  color: #fff;
}

/* Change members dropdown to non-bold */
.navbar-nav > li > a {
  font-weight: 400;
}

a,
a:visited,
a:hover {
  border: none;
}

.navbar .nav > li > a {
  text-shadow: none;
  font-weight: 400;
}

#newbooks {
  padding: 30px 0;
}
#newbooks b {
  font-size: 18px;
  font-weight: normal;
  color: #5B7E82;
  padding: 0px 2px 0px 2px;
}

#newbooks td b {
  font-size: inherit;
  font-weight: bold;
  color: inherit;
}

#newbooks table {
  margin-top: 10px;
}

#newbooks p {
  margin-bottom: 0;
}

@media (max-width: 608px) {
  #newbooks table td {
    display: block;
    width: 100%;
    clear: left;
    text-align: left;
  }

  #newbooks .cover {
    float: left;
  }

  #newbooks .cover img {
    max-height: 120px;
  }
}
.actions a {
  color: #5d7f82;
}

.actions #login4tags,
.actions a {
  font-weight: bold;
  border: 0;
}
.actions #login4tags:hover, .actions #login4tags:focus,
.actions a:hover,
.actions a:focus {
  text-decoration: underline;
  border: 0;
}

.btn-link {
  color: #5d7f82;
  border: 0;
  font-weight: 700;
}

.pagination ul > li > a {
  color: #849e9f;
}

.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
  background-color: #849e9f;
  border: 1px solid #849e9f;
  color: #FFF;
}

.list-actions a {
  color: #5d7f82;
}

.searchresults p {
  margin-top: 5px;
}

#renewselected,
#renewall {
  margin-bottom: 20px;
}

#renewall_link .fa-stack {
  width: 4em;
}

/*searchbar*/
#header-region + .container-fluid {
  padding-left: 0;
  padding-right: 0;
  background: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
#header-region + .container-fluid > .row {
  margin-left: 0;
  margin-right: 0;
  justify-content: center;
}
#header-region + .container-fluid > .row > .col {
  padding-left: 0;
  padding-right: 0;
}
#header-region + .container-fluid > .row:nth-child(2) {
  justify-content: center;
}

.mastheadsearch {
  background: none;
  filter: none;
  margin: 0 25px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#moresearches {
  padding: 0px 15px 10px;
}
#moresearches a {
  font-weight: bold;
  font-size: 14px;
  margin: 0 5px;
  color: #0076b2;
}
#moresearches .nav-item:last-child {
  display: none;
}
#moresearches .nav-item:nth-child(3):after {
  content: "";
}

#opac-main-search {
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}
#opac-main-search label {
  color: #5d7f82;
}
