
html {
  height: 100%;
}

body {
  min-height: 100%;
  /*display: flex;
  flex-direction: column;*/

  font-family: aktiv-grotesk, sans-serif;
  font-style: normal;
  font-weight: 400;
  /*color: #737373;*/
  color: #141414;
}


.content .container.header-container .row {
    height: 111px;
}

.header-container {
    height: 111px;
	background: #004c97;
}

.header-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.navbar-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.container.brand-container {
	padding: 0;
}

.container.brand-container.home {
  padding-top: 2px;
}

.content {
  flex: 1;
  padding: 0 20px 0 20px;
}

a {
  color: #004c97;
}

a:focus, a:hover {
    color: #757d90;
}

h1 {
	font-size: 25px;
	font-weight: 700;
	color: #737373;
	margin-top: 0;
}

h2 {
	font-size: 20px;
	font-weight: 700;
	color: #737373;
	margin-bottom: 25px;
}

h3 {
	font-size: 20px;
	color: #737373;
	font-weight: 700;
	margin-left: 15px;
	margin-right: 15px;
}

.breadcrumb-wrapper {
	display: none;
}

#breadcrumb {
	color: #737373;
	font-size: 11px;
	margin-bottom: 2px;
}

#breadcrumb a {
	color: #737373;
}

/* Images */

img {
    width: 100%;
}

hr.style1 {
  border-top: 2px solid #DFE1E7;
  margin-top: 0;
}

.dropdown-menu {
  margin: 0px 0 0;
  width: 100%;
  padding:20px;
}

.mega-dropdown-menu .row > li > ul > li {
  list-style: none;
}

hr.accordion {
  margin-top: 10px;
  margin-bottom: 10px;
  border-top: 3px solid #fff;
}

#accordion {
	padding-left: 0;
}

.col-cyan {
  background : #f5f5f5;
}

.book-title {
	color: #004C97;
	font-size: 16px;
	font-weight: 700;
	line-height: 19px;
	white-space: normal;
	display: block;
	clear: both;
}

.col-grid5 .book-title {
	margin-top: 0;
}

.book-title:hover {
	text-decoration: none;
	color: #737373;
}

.confirm-panel .book-title {
	padding-top: 20px;
}


.mega-dropdown-menu .book-title {
	margin-top: 10px;
}

.mega-next {
	background: #f5f5f7;
    margin: 0;
    padding: 0 15px 0 15px!important;
	border-radius: 4px;
}

.mega-next .btn {
	margin-bottom: 15px;
    padding: 4px 5px 1px 5px;
}

.format {
	color: #737373;

	display: inline-block;
	padding: 5px 0;
}

.pub-date {
	font-size: 12px;
	display: block;
	color: #141414;
	font-weight: 600;
	padding: 3px 0;
}

/*General Buttons*/
.btn-ulv {
  background:#004c97;
  color:#fff;
  border-color:transparent;
}

.btn:focus {
    background: #737373!important;
	border-color: #737373!important;
	color: #fff!important;
}

.no-books {
	display: inline-block;
	width: 70%;
	padding: 30px;
	margin: 22px 0;
	border: 2px solid #ccc;
}

/* Account Newsletter Switch Buttons */

.toggle.ios, .toggle-on.ios, .toggle-off.ios {  }
.toggle.ios .toggle-handle { display: none;}
.toggle-group .btn { margin-top: 0; margin-bottom: 0; }
.toggle-group .btn.toggle-off { margin-top: 0; margin-bottom: 0; }

/*Custom Grid Column to make 5 column grid */

.col-grid5 {
  width: 20%;
  margin-bottom: 20px;
}

.row.browse-view .col-grid5 {
  width: 20%;
  /*margin-bottom: 20px;*/
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
	.row.browse-view .col-grid5 { width: 33.333%; }
}

@media screen and (max-width: 450px) {
	.row.browse-view .col-grid5 { width: 49.333%; }
}

/* HEADER */

.header {
	background: #004c97;
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	width: 100%;
}

.header .pull-right span {
	text-transform: uppercase;
}

.header a:link, .header a:hover, .header a:visited {
	color: #fff;
}

.header a:hover {
	color: #ccc;
	text-decoration: none;
}

.header .pull-right img {
	width: auto;
	height:58px;
	margin: 15px 25px 7px 25px;
}

.header .pull-right p {
	margin: 3px 25px 5px 25px;
}

.header .pull-left {
	background-image: url("../images/ulibrary-logo.png");
	height: 111px;
	width: 218px;
	background-size: 218px auto;
	padding: 20px 0 12px 0;
	text-align: center;
}
/*
.header.Auckland.Libraries .pull-left {
    background-image: url("../images/ulibrary-logo-dark.png");
}
*/
.header.Central.Highlands.Libraries .pull-left,
.header.Wagga.City.Library .pull-left,
.header.Auckland.Libraries .pull-left,
.header.Cambridgeshire.Libraries .pull-left,
.header.Aura.Leisure.and.Libraries .pull-left,
.header.Darwen.Libraries .pull-left,
.header.Bury.Council.Libraries .pull-left,
.header.Calderdale.Library .pull-left,
.header.Campaspe.Library .pull-left,
.header.Christchurch.Libraries .pull-left,
.header.Ceredigion.Public.Library .pull-left,
.header.Derbyshire.County.Council.Library.Service .pull-left,
.header.GLL .pull-left,
.header.Dundee.Libraries .pull-left,
.header.East.Gippsland.Shire.Library .pull-left,
.header.Guille-Alles.Libraries .pull-left,
.header.Hamilton.Libraries .pull-left,
.header.LLC.consortium.Libraries .pull-left,
.header.Mildura.Rural.City.Council .pull-left,
.header.Monash.Public.Library.Service .pull-left,
.header.ornington.Peninsula.Library.Service .pull-left,
.header.Mornington.Peninsula.Library.Service .pull-left,
.header.Myli.–.My.Community.Library .pull-left,
.header.Nottinghamshire.Libraries .pull-left,
.header.Nottingham.City.Libraries .pull-left,
.header.North.Yorkshire.Libraries .pull-left,
.header.Peterborough.Libraries .pull-left,
.header.Port.Erin.Libraries .pull-left,
.header.Oldham.Library .pull-left,
.header.Staffordshire.Libraries .pull-left,
.header.Swan.Hill.Regional.Library .pull-left,
.header.Vale.of.Glamorgan.Libraries .pull-left,
.header.Warrnambool.Library .pull-left,
.header.Wellington.Shire.Library.Service .pull-left,
.header.Whangarei.Libraries .pull-left,
.header.Wollongong.City.Libraries .pull-left,
.header.Mooney.Valley.Libraries .pull-left,
.header.Port.Phillip.Library.Service .pull-left,
.header.High.Country.Library.Network .pull-left,
.header.East.Riding.of.Yorkshire.Library .pull-left
{
    background-image: url("../images/ulibrary-logo-dark.png");
}

.header .pull-left img {
	width: 218px;
}

.header .pull-left {
	color: #ccc;
	font-size: 11px;
}

.header .pull-left span {
	color: #fff;
}

.header .pull-left .android-icon {
	display: block;
	text-align: right;
	margin-bottom: 5px;
	margin-right: 30px;
}

.header .pull-left .apple-icon {
	display: block;
	text-align: right;
	margin-bottom: 10px;
	margin-right: 30px;
}

.header .pull-left .android-icon img, .header .pull-left .apple-icon img {
	width: 25px;
}

.pull-right img {
	float: right;
}

#library-name {
	float: left;
	margin-left: 25px;
	padding-right: 10px;
	border-right: 1px solid #ccc;
	margin-right: 10px;
}

#dyslexic-form {
	float: left;
	height: 0;
}

#dyslexic-btn {
	padding: 0;
	font-weight: 400;
}

#dyslexic-btn:hover {
	color: #ccc;
}

/* FOOTER */

.footer {
	padding: 20px 15px 20px 15px;
	background:#f5f5f5;
	clear: both;
	max-width: 1170px;
	margin: 0 auto;
	font-size: 13px;
	margin-bottom: 0;
	color: #737373;
}

.footer img {
	width: 97px;
	margin-left: 7px;

	margin-top: -7px;
}

.footer .pull-left {
	margin-top: -9px;
}

.footer-upper {
	padding-left: 15px;
	padding-right: 15px;
	max-width: 1170px;
	margin: 0 auto;
	margin-top: 40px;
	font-size: 13px;
}

.footer-upper ul {
	margin: 0;
	padding: 0;
	display: block;
}

.footer-upper li {
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.footer-upper li a {
    display: block;
    padding: 5px 16px 15px 0;
    text-decoration: none;
	color: #4e4e4e;
}

.footer-upper .pull-left {
	color: #454a57;
}

.footer-upper img {
	width: 29px;
	margin-left: 5px;

	margin-top: -8px;
}



/* MAIN NAVIGATION */

.navbar-container {
	background:#f5f5f5;
}

.navbar-default {
    background-color: transparent;
    border: 0 none;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    color: #004c97;
    background-color: transparent;
	border-bottom: 7px solid #004c97;
}

.navbar-default .navbar-nav > li > a {
    color: #141414;
	border-bottom: 7px solid #dedede;
	margin-right: 2px;
	font-weight: bold;
	padding: 30px 30px 12px 30px;
	font-size: 16px;
	margin-top: 2px;
}

.navbar-default .navbar-nav > li > a:hover {
	color: #141414;
	border-bottom: 7px solid #141414;
}

.navbar {
    margin-bottom: 0;
}

.navbar-right .advanced-search {
	text-align: right;
	font-size: 11px;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
    background-color: #f5f5f5;
	color: #141414;
}

/* NOT SURE IF THIS BREAKS IT */
.navbar-default .navbar-collapse {
	margin-left: -15px;
	margin-right: -15px;
}



.banner-container {
	margin-left: -15px;
	margin-right: -15px;
}

.banner {
	margin-bottom: 17px;
	padding: 0;
}

.media-tabs {
	margin-top: 0;
	margin-bottom: 0;
}

.nav-pills > li > a {
    padding: 0;
	color: #737373;
	border-radius: 0;
}

.nav-pills > li {
    padding: 0 5px 0 5px;
	font-size: 13px;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #737373;
}

.media-tabs > li {
    padding: 4px 10px 5px 10px;
    font-size: 14px;
	border: 2px solid #bbb;
	border-radius: 4px;
	cursor: pointer;
	color: #737373;
	margin-left: 5px!important;
}


.media-tabs > li.active {
	background: #004c97;
	border: 2px solid #004c97;
	color: #fff;
}

#audio-tab:after {
	background-image: url('../images/headphones-outline-icon.jpg');
	background-size: 21px 21px;
	display: inline-block;
	width: 21px;
	height: 21px;
	margin: 0 0 -5px 8px;
	content:"";
}

.active #audio-tab:after {
	background-image: url('../images/headphones-outline-active-icon.jpg');
	background-size: 21px 21px;
	display: inline-block;
	width: 21px;
	height: 21px;
	margin: 0 0 -5px 8px;
	content:"";
}

#ebook-tab:after {
	background-image: url('../images/book-outline-icon.jpg');
	background-size: 21px 21px;
	display: inline-block;
	width: 21px;
	height: 21px;
	margin: 0 0 -5px 8px;
	content:"";
}

.active #ebook-tab:after {
	background-image: url('../images/book-outline-active-icon.jpg');
	background-size: 21px 21px;
	display: inline-block;
	width: 21px;
	height: 21px;
	margin: 0 0 -5px 8px;
	content:"";
}

#all-tab:after {
	background-image: none;
	background-size: 21px 21px;
	display: inline-block;
	width: 0;
	height: 21px;
	margin: 0 0 -5px 0;
	content:"";
}


.nav-pills > li.loans-end {
	border-left: 2px solid #ccc;
	padding-left: 15px;
	margin-left: 10px;
}

.nav-eaudiobooks::before {
	background-image: url('../images/headphones-icon.png');
	background-size: 12px 12px;
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 4px -1px 4px;
	content:"";
}

.nav-ebooks::before {
	background-image: url('../images/book-icon.png');
	background-size: 12px 12px;
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 4px -1px 4px;
	content:"";
}


.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
	color: #00653b;
}

select {
	border: 1px solid #ccc;
	padding: 6px 5px 5px 5px;
	height: 34px;
}

.navbar-left input[type="text"] {
	border: 1px solid #ccc;
	padding: 5px 5px 5px 10px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 0 #fff;
	-webkit-box-shadow: inset 0 0 0 0 #fff;
	min-width: 200px;
	height: 36px;
}

.navbar-search-container {

}

.navbar-form {
	padding: 0;
}

.navbar-search-button {
	width: 20px;
	position: absolute;
	margin-left: -35px;
	margin-top: 7px;
}
@-moz-document url-prefix() { .navbar-search-button{ position: absolute; } }

.navbar-form .form-control {
	vertical-align: top;
}

.form-control {
    color: #737373;
	border: 1px solid #c1c5ce;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


/* MEGAMENU */

.dropdown-menu {

    padding: 20px;
    margin: 2px 0 0;
    font-size: 13px;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.dropdown-header {
    padding: 15px 0px 5px 0;
    font-size: 13px;
    line-height: 1.42857143;
    color: #737373;
	font-weight: 700;
}

.mega-dropdown-menu .row > li > ul > li {
	margin: 5px 0 5px 0;
}

.mega-dropdown-menu .row > li > ul > li a {
    margin-left: 10px;
}

.mega-dropdown-menu ul {
	list-style-type: none;
	padding: 0;
}

.mega-dropdown {
	position: static !important;
}

.mega-dropdown h2 {
	margin-bottom: 0;
	color: #737373;
}

.mega-dropdown h2.mega-ebook-title:before {
	background-image: url('../images/book-icon-grey.png');
	background-size: 28px 28px;
	display: inline-block;
	width: 28px;
	height: 28px;
	margin: 0 7px -5px 5px;
	content:"";
}

.mega-dropdown h2.mega-audio-title:before {
	background-image: url('../images/headphones-icon-grey.png');
	background-size: 28px 28px;
	display: inline-block;
	width: 28px;
	height: 28px;
	margin: 0 7px -5px 5px;
	content:"";
}

.mega-items {
	margin-left: 10px;
}

.mega-dropdown-menu {
  padding: 20px 15px 15px;
  width: 100%;
}


/* LOGIN */


.login-box {
    background-color: #f5f5f5;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
	margin: 0 auto;
	width: 92%;
	padding: 30px 4% 30px 4%;
	max-width: 400px;
}

.login-lower {
	margin: 0 auto;
	width: 92%;
	padding: 30px 4% 30px 4%;
	max-width: 400px;
}

.login-lower a:link {
	color: #004c97;
}

input[type="submit"] {
	background: #004c97;
	border: 0;
	border-radius: 4px;
	padding: 6px 20px 4px 20px;
	color: #fff;
}

label {
	font-weight: 400;
}


/* PRODUCT LISTINGS */

.ulv-genre-slider-attrs {
	min-height: 155px;
	padding-top: 12px;
}

.ulv-genre-slider-attrs a:focus, .ulv-genre-slider-attrs a:active, .ulv-genre-slider-attrs a:hover {
	text-decoration: none;
}

.carousel-inner > .item > a > img, .carousel-inner > .item > img, .thumbnail a > img, .thumbnail > img {
    display: block;
    max-width: 100%;
    height: 180px;
}

.slider-contributors {
	clear: both;
	display: block;
	white-space: normal;
	font-size: 12px;
	color: #737373;
	padding-top: 10px;
}

.slider-contributors a, .contributors a {
	color: #737373;
}

.slider-contributors a:hover, .contributors a:hover {
	color: #737373;
	text-decoration: none;
}

.contributors {
	clear: both;
	display: block;
	white-space: normal;
}

.thumbnail {
    border: 0;
	background: transparent;
}

.thumbnail img {
	border: 1px solid #c1c5ce;
	width: auto;
}

.slideshow {
	background: #fff;
	padding-bottom: 30px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ccc;
}

.cycle-slide {
	padding-top: 15px;
	padding-bottom: 15px;

	width: 100%;
}

/*.cycle-slide.cycle-slide-active {
	border-bottom: 1px solid #737373;
}*/

.ulv-genre-slider-img img
{
	width: auto;
	height: 100%;
	border: 0;
	max-height: 200px;
}

.most-borrowed .ulv-genre-slider-img img
{
	width: 100%;
	height: auto;
	border: 0;
	aspect-ratio: 1/1;
	max-height: none;
}

.row.browse-view .col-grid5 .ulv-genre-slider-img img {
	width: 100%;
	height: auto;
	max-height: none;
}

.ulv-genre-slider-img
{
	/*background:#f5f5f5;*/
	margin-bottom: 10px;
	text-align: center;
	height: auto;
}

.ulv-genre-slider-img-icons {
	text-align: center;
	background: #004c97;
	border-radius: 7px;
}

.ulv-genre-slider-img-icons a {
	display: block;
}

.genre-slider-genre-name a {
	color: #fff;
	font-size: 16px;
	display: block;
	padding: 2px 0 10px;
}

.genre-slider-genre-name a:hover {
	text-decoration: none;
}

.ulv-genre-slider-img-icons img {
	width: 50px;
	margin-top: 5px;
}

@media screen and (min-width: 992px) {
	.col-grid5.genres { min-height: 0; }
}

.nav-tabs {
    border-bottom: 2px solid #DFE1E7;
	margin-bottom: 20px;
	margin-left: 15px;
	margin-right: 15px;
}

.nav-tabs > li > a:link {
	color: #004c97;
}


.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 7px solid #004c97;
	font-weight: 700;
	color: #004c97;
}

.nav-tabs > li > a, .nav-tabs > li > a:focus {
    border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 7px solid #dedede;
	padding-left: 30px;
	padding-right: 30px;
	font-size: 16px;
}

.nav-tabs > li > a:hover {
	border-bottom: 7px solid #767e92;
}

#acc-loans-books,
#acc-reserves-books,
#acc-history-books,
#acc-nextread-books {
	padding: 15px;
}




/* PRODUCT SLIDER / LISTINGS */

.cycle-slide {
	font-size: 12px;
}

.thumbnail {
	margin-bottom: 0;
}

.thumbnail img {
	margin-bottom: 5px;
}

.slider-nav {
	float: right;
	margin-top: 10px;
	padding-bottom: 20px;
}

.browse-genre .slider-nav {
	padding-right: 14px;
}

.btn {
	margin-top: 2px;
	margin-bottom: 3px;
	padding: 2px 5px 1px 5px;
	font-size: 12px;
}

/*.btn.btn-default.btn-ulv.ebook::after {
	background-image: url('../images/book-white-icon.png');
	background-size: 14px 14px;
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 0 -2px 5px;
	content:"";
}

.btn.btn-default.btn-ulv.audiobook:after {
	background-image: url('../images/headphones-white-icon.png');
	background-size: 12px 12px;
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 0 -1px 5px;
	content:"";
}

.btn.btn-default.btn-ulv.audio::after {
	background-image: url('../images/headphones-white-icon.png');
	background-size: 12px 12px;
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 0 -1px 5px;
	content:"";
}

.product-buttons .btn.btn-default.btn-ulv.audiobook:after {
	background-image: url('../images/headphones-white-outline-icon.png');
	background-size: 19px 19px;
	display: inline-block;
	width: 19px;
	height: 19px;
	margin: 0 0 -3px 5px;
	content:"";
}*/

.btn-default:hover {
	background: #737373;
	border-color: #737373;
	color: #fff;
}

.browse-view .btn.btn-default.audiobook:after {
	background-image: url('../images/headphones-white-icon.png');
	background-size: 15px 15px;
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 0 0 -3px 5px;
}

.browse-view .contributors {
	display: block;
	clear: both;
	font-size: 12px;
	margin-top: 10px;
}
.ulv-genre-slider-img img.no-border
{
	border:0px !important;
}

/* .browse-view .ulv-genre-slider-img {
	background: transparent;
} */

.browse-view p {
	font-size: 11px;
	margin-top: 5px;
}

.col-md-6.showing {
	padding-top: 9px;
}

.pagination {
	margin-top: 2px;
	margin-right: 10px;
	float: right;

}

.pagination a:link {
	color: #004c98;
}

.sorter-footer {
	clear: both;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 12px;
}

.book-count {
	color: #004C97;
	margin-left: 17px;
	padding-top: 4px;
	display: block;
	float: right;
	font-weight: 600;
	padding-right: 14px;
}

.book-count:hover {
	color: #757d90;
}

.slider-nav a:hover {
	text-decoration: none;
}

.prev-tab, .next-tab {
	background: #e2e4e7;
	color: #737373;
	padding: 0;
	border-radius: 4px;
	margin: 0 1px 0 1px;
	height: 26px;
	width: 26px;
	display: inline-block;
}

.prev-tab {
	background-image: url("../images/left-arrow.png");
	background-size: 26px;
	text-indent: -10000px;
}

.next-tab {
	background-image: url("../images/right-arrow.png");
	background-size: 26px;
	text-indent: -10000px;
}

.prev-tab:hover, .next-tab:hover {
	text-decoration: none;
}




.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    color: #004C97!important;
    background-color: transparent;
}

.pagination > li:first-child > a, .pagination > li:first-child > span {
    margin-left: 0;
}

.pagination > li > a, .pagination > li > span {
    border-right: 1px solid #2f68ed!important;
}

.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-right: 0!important;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 0px 6px;
    margin-left: -1px;
	margin-top: 7px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: transparent;
    border: 0;
}

.styled-sorter {
    float: left;
    background-image: url("../images/sorter-arrow.png");
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #c1c5ce;
    width: 165px;
    margin-left: 4px;
    margin-right: 4px;
    overflow: hidden;
}

.styled-sorter select {
    background: transparent;
    width: 185px;
    border: 0 !important;
}
.toolbar select {

    padding-top: 4px;
    border-color: #c1c5ce;
}

.sort-by label {
    float: left;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 700;
}

.styled-keywords {
    float: left;
    background-image: url("../images/sorter-arrow.png");
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #c1c5ce;
    width: 165px;
    margin-left: 4px;
    margin-right: 4px;
    overflow: hidden;

	display: none; /* NOT SURE WHAT THIS DOES, SO I'VE REMOVED IT AS IT GETS IN THE WAY */
}

.styled-keywords select {
    background: transparent;
    width: 185px;
    border: 0 !important;
}

.description {
    margin-top: 5px;
	margin-bottom: 5px;
    font-size: 11px;
    line-height: 14px;
}




/* EAUDIOBOOK / EBOOK PAGE / DOWNLOADS */

.product-page {
	margin-top: 20px;
}

.product-page h1 {
	color: #141414;
	margin-top: 0;
	margin-bottom: 0;
}

.product-page h3 {
	color: #737373;
	font-weight: 700;
}

.product-page img {
	border: 1px solid #c1c5ce;
}

.product-page .product-buttons {
	margin-top: 10px;
}

.product-page .product-buttons .btn-default {
	margin-right: 5px;
}

.product-page .contributors {
	font-size: 16px;
	margin-bottom: 15px;
}

.product-page .contributors a {
	color: #141414;
}

.product-page .contributors a:hover {
	color: #00653b;
	text-decoration: none;
}

.product-page  ul.product-attributes {
	list-style-type: none;
	padding-bottom: 10px;
}

.product-page  ul.product-attributes li {
	padding: 1px 0 1px 0;
}

.view-attrs-name {
	font-weight: 700;
	display: inline-block;
	width: 30%;
}

.product-page .btn-default {
	background: #004c97;
	color: #fff;
	text-transform: none;
	font-size: 15px;
	border: #004c97;
	padding: 4px 12px 3px 12px;
}

.product-page .btn-default:active {
	background: #004c97;
	color: #fff;
}

.product-page .btn-default:hover {
	background: #737373;
	color: #fff;
}

.btn.btn-default.audiobook {
    float: left;
}

#audio-preview {
	background: #106ff2;
	color: #fff;
	text-transform: none;
	font-size: 15px;
	padding: 4px 15px 3px 15px;
	margin-top: 2px;
	margin-bottom: 3px;
	border-radius: 4px;
	border: 0;
	float: left;
	margin-right: 5px;
}

#audio-preview:hover {
	background: #2569c6;
	text-decoration: none;
}

#audio-preview:after {
	background-image: url('../images/search-icon-white.png');
	background-size: 18px 18px;
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 0 0 -3px 5px;
	content:"";
}

.cycle-slide .btn.btn-default {
	margin-top: 2px;
	margin-bottom: 3px;
	padding: 4px 15px 2px 15px !important;
	font-size: 13px;
	min-height: 24px;
}

/*.btn.btn-default.audiobook:after {
	background-image: url('../images/headphones-white-outline-icon.png');
	background-size: 19px 19px;
	display: inline-block;
	width: 19px;
	height: 19px;
	margin: 0 0 -3px 5px;
	content:"";
}

.cycle-slide .btn.btn-default.audiobook:after {
	background-image: url('../images/headphones-white-icon.png');
	background-size: 15px 15px;
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 0 0 -3px 5px;
}

.btn.btn-default.ebook:after {
	background-image: url('../images/book-white-icon.png');
	background-size: 18px 18px;
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 0 0 -3px 5px;
	content:"";
}*/

.sm-grey-header {
	font-size: 16px;
	margin: 20px 0 10px 0;
	display: block;
}


.download-links-wrapper .items-header {
	margin: 10px 0 10px 0;
	display: block;
}

.audio-download-links {
	background: #004c97;
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	border: #004c97;
	padding: 3px 15px 6px 15px;
	border-radius: 4px;
	display: block;
	text-align: center;
}

.audio-download-links:hover {
	background: #737373;
	color: #fff;
	text-decoration: none;
}

.audio-download-links:active, .audio-download-links:focus {
	color: #fff;
	text-decoration: none;
}

.audio-download-links:after {
	background-image: url('../images/headphones-white-outline-icon.png');
	background-size: 28px 28px;
	display: inline-block;
	width: 28px;
	height: 28px;
	margin: 0 0px -6px 10px;
	content:"";
}

.advice-wrapper {
	background: #f5f5f5;
	padding: 5px 25px 25px 25px;
	margin-top: 20px;
}

.advice-wrapper h3 {
	margin-left: 0px;
	font-size: 16px;
	color: #737373;
}

.btn.btn-default.share {
	background: #004c97;
	padding: 4px 15px 3px 15px;
}

.btn.btn-default.share:hover {
	background: #737373;
}

.btn.btn-default.share:after {
	background-image: url('../images/share-icon.png');
	background-size: 20px 20px;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 0 -4px 5px;
	content:"";
}

.btn.btn-default.btn-ulv.read-more {
  padding: 10px 20px !important;
  font-size: 16px;
  font-weight: 600;
}



/* CONTRIBUTORS */

.contributor {
	padding-top: 15px;
}

.contributor .thumbnail {
	float: left;
	margin-right: 3%;
	width: 30%
}

.contributor .thumbnail img {
    height: auto;
}

.contributor .contributor-details {
	float: left;
	width: 67%;
}

.contributor .contributor-name {
	font-size: 16px;
	color: #737373;
	font-weight: 700;
}

.contributor .contributor-type {
	margin-bottom: 5px;
}

.contributor-page {
	margin-top: 20px;
	margin-bottom: 20px;
}

.contributor-page h1 {
	color: #737373;
	}

.sm-green-header {
	font-weight: 700;
	color: #737373;
	margin-top: 5px;
	font-size: 14.5px;
	display: block;
}

/* MY ACCOUNT */

#acc-loans-books .btn.btn-default,
#acc-reserves-books .btn.btn-default,
#acc-history-books .btn.btn-default,
#acc-nextread-books .btn.btn-default {
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 3px 5px 1px 5px;
	font-size: 12px;
	color: #fff;
}

#acc-loans-books .btn.btn-default.listen,
#acc-reserves-books .btn.btn-default.listen,
#acc-history-books .btn.btn-default.listen,
#acc-nextread-books .btn.btn-default.listen {
	background: #004c97;
	border-color: #004c97;
}

#acc-loans-books .btn.btn-default.listen:hover,
#acc-reserves-books .btn.btn-default.listen:hover,
#acc-history-books .btn.btn-default.listen:hover,
#acc-nextread-books .btn.btn-default.listen:hover {
	background: #737373;
	border-color: #737373;
	color: #fff
}

#acc-loans-books .btn.btn-default.return,
#acc-reserves-books .btn.btn-default.return,
#acc-history-books .btn.btn-default.return,
#acc-nextread-books .btn.btn-default.return {
	background: #fff;
	border-color: #004c97;
	color: #004c97;
}

#acc-loans-books .btn.btn-default.return:hover,
#acc-reserves-books .btn.btn-default.return:hover,
#acc-history-books .btn.btn-default.return:hover,
#acc-nextread-books .btn.btn-default.return:hover {
	background: #737373;
	border-color: #737373;
	color: #fff;
}

#acc-loans-books .btn.btn-default.return:focus,
#acc-reserves-books .btn.btn-default.return:focus,
#acc-history-books .btn.btn-default.return:focus,
#acc-nextread-books .btn.btn-default.return:focus {
	background: #737373!important;
	border-color: #737373!important;
	color: #fff;
}


#acc-loans-books .btn.btn-default.extend,
#acc-reserves-books .btn.btn-default.extend,
#acc-history-books .btn.btn-default.extend,
#acc-nextread-books .btn.btn-default.extend {
	background: #C15406;
	border-color: #C15406;
}

#acc-loans-books .btn.btn-default.extend:hover,
#acc-reserves-books .btn.btn-default.extend:hover,
#acc-history-books .btn.btn-default.extend:hover,
#acc-nextread-books .btn.btn-default.extend:hover {
	background: #df7e00;
	border-color: #df7e00;
}

#acc-loans-books .btn.btn-default.extend:focus,
#acc-reserves-books .btn.btn-default.extend:focus,
#acc-history-books .btn.btn-default.extend:focus,
#acc-nextread-books .btn.btn-default.extend:focus {
	background: #df7e00!important;
	border-color: #df7e00!important;
}

.btn.btn-default.reserve {
    background: #C15406;
    border-color: #C15406;
}

.cycle-slide .btn.btn-default.reserve {
   margin-top: 2px;
   margin-bottom: 3px;
   padding: 4px 15px 2px 15px !important;
   font-size: 13px;
   min-height: 24px;
}

.btn.btn-default.reserve:hover {
    background: #737373;
    border-color: #737373;
}
/*
.btn.btn-default.reserve:focus {
    background-size: 113px 28px;
    display: block;
    width: 113px;
    height: 28px;
    margin: 3px 8px 0 0;
}
*/
.product-page .btn-default.reserve:active {
    width: 113px;
    margin: 2px 6px 0 0;
    padding: 4px 12px 3px 12px;
    height: 29px;
}

/* REMOVED RESERVE ICON AFTER WORD
.btn.btn-default.reserve.audiobook:after {
    background-image: url('../images/headphones-white-icon.png');
    background-size: 19px 19px;
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: 0 0 -3px 5px;
    content:"";
}

.cycle-slide. .btn.btn-default.reserve.audiobook:after {
    background-image: url('../images/headphones-white-icon.png');
    background-size: 15px 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 0 -3px 5px;
    content:"";
}

.btn.btn-default.reserve.ebook:after {
    background-image: url('../images/book-white-icon.png');
    background-size: 19px 19px;
    display: inline-block;
    width: 19px;
    height: 19px;
    margin: 0 0 -3px 5px;
    content:"";
}*/

/*.cycle-slide. .btn.btn-default.reserve.ebook:after {
    background-image: url('../images/book-white-icon.png');
    background-size: 14px 14px;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 0 -2px 5px;
    content:"";
}

.cycle-slide .btn.btn-default.audiobook::after {
   background-image: url('../images/headphones-white-icon.png');
   background-size: 15px 15px;
   display: inline-block;
   width: 15px;
   height: 15px;
   margin: 0 0 -3px 5px;
}

.cycle-slide .btn.btn-default.ebook::after {
   background-image: url('../images/book-white-icon.png');
   background-size: 14px 14px;
   display: inline-block;
   width: 14px;
   height: 14px;
   margin: 0 0 -2px 5px;
   content: "";
}*/

#acc-loans-books .expiry-date ,
#acc-reserves-books .expiry-date,
#acc-history-books .expiry-date,
#acc-nextread-books .expiry-date {
	font-size: 12px;
	color: #D1001F;
	font-weight: 600;
}

#acc-loans-books img ,
#acc-reserves-books img,
#acc-history-books img,
#acc-nextread-books img {
	border: 1px solid #c1c5ce;
}

h2.audioborrowed:before{
	background-image: url('../images/headphones-outline-icon.jpg');
	background-size: 30px 30px;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0 10px -8px 0px;
	content:"";
}

h2.bookborrowed:before{
	background-image: url('../images/book-outline-icon.jpg');
	background-size: 30px 30px;
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0 10px -8px 0px;
	content:"";
}

.account-detail-box {
	background : #f5f5f5;
	border-radius: 4px;
	margin: 0 auto;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 30px 4% 30px 4%;
	width: 92%;
	max-width: 800px;
}

.account-detail-box .btn-ulv {
	padding: 5px 20px 4px 20px;
	font-size: 14px;
}

.btn-primary {
    background-color: #75adfa;
    border-color: #75adfa;
}


.toggle-on.btn {
    padding-right: 24px;
    padding-top: 7px;
	font-size: 14px;
}

.toggle-off.btn {
    font-size: 14px;
	padding-top: 7px;
}


.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
    background-image: none;
    background-color: #ccc;
    margin: 0;
}

.btn.active, .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
	margin-top: 2px;
    margin-bottom: 3px;
}

.myaccount-grid {
	min-height: 290px;
	margin-bottom: 30px;
}



/* ADVANCED SEARCH */

.advanced-search-form {
    background-color: #f5f5f5;
    border: 0 none;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
	margin: 0 auto;
	width: 92%;
	padding: 30px 4% 30px 4%;
	max-width: 800px;
}

.well.advanced-search-form {
	border: 1px solid #d6d6d6;
}

.advanced-search-form .btn-default {
	background: #004c97;
	color: #fff;
	text-transform: none;
	font-size: 15px;
	border: #004c97;
	padding: 4px 15px 4px 15px;
}

.advanced-search .btn-default:hover {
	background: #141414;
	border-color: #141414;
	color: #fff;
}

.styled-advanced-search {
    float: left;
    background-image: url("../images/advsearch-arrow.png");
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #c1c5ce;
    width: 215px;
    overflow: hidden;
}

.styled-advanced-search select {
    background: transparent;
    width: 235px;
    border: 0 !important;
}






/* CONFIRM / RENEW LOANS */

.confirm-panel {
	margin-top: 25px;
	margin-bottom: 25px;
	padding-top: 25px;
	padding-bottom: 25px;
}

.confirm-panel .btn-default {
	background: #004c97;
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
	border: #004c97;
	padding: 5px 15px 4px 15px;
	margin-top: 15px;
	margin-bottom: 5px;
}

.confirm-panel .btn-default:hover {
	background: #737373;
}

.confirm-panel .return-note {
	font-size: 11px;
	display: block
}

.confirm-panel img {
	border: 1px solid #c1c5ce;
}

.alert-success {
    color: #454a57;
    background-color: #e5f0eb;
	border: 0;
}

.well {
	-webkit-box-shadow: 0!important;
	box-shadow: 0!important;
}

.alert-danger {
    color: #a94442;
    background-color: #e5f0eb;
	border: 0;
}
.alert-danger p
{
	display:inline-block;
}

.alert {
    border-radius: 0;
}

.modify-search {
	padding-top: 10px;
	padding-bottom: 10px;
}



/* HELP PAGE */

.help-nav {
	width: 25%;
	margin-right: 3%
}

.help-nav .nav > li > a {
	color: #737373;
}

.well-lg {
    border-radius: 4px;
}

.well {
	box-shadow: none;
	-webkit-box-shadow: none;
	border: 0 none;
}

.help-container {
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	background: #f5f5f5;
	width: 72%;
	float: left;
}

.help-container .panel-heading {
    padding: 10px 15px;
    border-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.help-container .panel-title {
	color: #737373;
	font-size: 13px;
	font-weight: 700;
}

.help-container .panel-body {
	font-size: 13px;
}

.well.help-nav
{
	padding-right:0px;
}
.help-nav ul
{
	width:100%;
}
.help-nav ul li
{
	padding: 10px 0px 10px 10px;
	border-radius:4px;
}
.active-tab-acc
{
	background:#fff;
}
.help-nav .nav > li.active-tab-acc > a
{
	font-weight:bold;
	color:#737373;
}


/* ABOUT US */

.aboutus-container {
	width: 80%;
	margin: 0 auto;
	padding-top: 20px;
}

/* TERMS */

.terms-container {
	width: 80%;
	margin: 0 auto;
	padding-top: 20px;
}

.terms-container li {
    margin-bottom: 10px;
}

/* COPYRIGHT */

.copyright-container {
	width: 80%;
	margin: 0 auto;
	padding-top: 20px;
}

/* SITE MAP */

.sitemap-container {

	width: 80%;
	margin: 0 auto;
	padding-top: 20px;
}

.sitemap-container ul {
	list-style: none;
	padding-left: 0;
}

.sitemap-heading {
	font-weight: 700;
}

.col-sm-3.first-sitemap-column {
    width: 20%;
}








.layered-image {
  position: relative;
}

.layered-image img {
  height: 200px;
  width: 300px;
}

.image-overlay {
    background-size: 30% auto;
    background-image: url("../images/play-icon.png");
    height: 30%;
    width: 100%;
    background-repeat: no-repeat;
    padding: 90px 0 0 0;
    text-align: center;
    position: absolute;
    top: 50px;
    left: 35%;
    border: 0px;
	cursor: pointer;
}

.image-overlay-playing {
    background-size: 30% auto;
    background-image: url("../images/pause-icon.png");
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    padding: 90px 0 0 0;
    text-align: center;
    position: absolute;
    top: 50px;
    left: 35%;
    border: 0px;
}

.product-page .image-overlay, .product-page .image-overlay-playing {
	top: 35%;
}

.product-page .slideshow .image-overlay, .product-page .slideshow .image-overlay-playing {
	top: 50px;
}

.mega-no-heading {
	padding-top: 39px;
}



/* Contributor Website Link & Social Icons */

.contributor-website-wrapper
{
	margin:30px 30px 5px 30px;
}
.contributor-social-icons-wrapper
{
	height:20px;
	margin:5px 30px 30px 30px;
}
.contributor-social-icons-wrapper img
{
	height:20px;
	width:auto;
	float:left;
	margin-right:6px;
}



.navbar-collapse {
	padding-left: 0;
}

.navbar-toggle {
    float: left;
    padding: 0;
    margin-top: 15px;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 0 none;
    border-radius: 0;
	margin-left: 15px;
}

.navbar-toggle .icon-bar {
    height: 4px;
    width: 30px;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}
.navbar-default .navbar-toggle {
    border-color: #ddd;
}

.download-ebook-reader-btn {
	background: #006C44;
	color: #fff;
	padding: 10px 20px 20px 20px;
	border-radius: 6px;
	font-weight: 700;
	display: inline-block;
	margin-right: 15px;
}

.download-ebook-reader-btn:after {
	background-image: url('../images/download-icon.png');
	background-size: 45px 45px;
	display: inline-block;
	width: 45px;
	height: 45px;
	content:"";
	margin: 0 0 -18px 20px;
}

.bold {
	font-weight: 700;
}

.download-ebook-reader-btn:hover {
	background: #737373;
}

.green-content{color:#737373;font-weight:bold;font-size:16px;}

.decline
{
	background:red;
	color:#fff;
	border:red;
	text-transform:uppercase
}

.facebox
{
	background:pink;
}

/* eBook Preview */

.preview-footer {
	padding: 20px 15px 20px 15px;
	background:#f5f5f5;
	clear: both;
	width: 100%;
	font-size: 13px;
	margin-bottom: 0px;
}

.preview-footer img {
	width: 70px;
	margin-left: 5px;
}

.preview-footer .pull-left {
	margin-top: -9px;
}
.view-more-audio-history-btn-class, .view-more-ebook-history-btn-class
{
	background: #737373;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    border: #737373;
    padding: 4px 2px 3px 2px;
	clear: both;
	width: 115px;
	cursor: pointer;
	margin-right: auto;
	margin-left: auto;
	top: -55px;
	position: relative;
	border-radius: 4px;
	text-align: center;
}
/* .footer-upper {
	padding-left: 15px;
	padding-right: 15px;
	max-width: 1170px;
	margin: 0 auto;
	margin-top: 40px;
	font-size: 13px;
}

.footer-upper ul {
	margin: 0;
	padding: 0;
	display: block;
}

.footer-upper li {
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.footer-upper li a {
    display: block;
    padding: 5px 16px 15px 0;
    text-decoration: none;
	color: #8c8c8c;
}

.footer-upper .pull-left {
	color: #454a57;
}

.footer-upper img {
	width: 29px;
	margin-left: 5px;
} */


#view-more-audio-history-div-0,
#view-more-ebook-history-div-0  {
 	display: block;
	text-align: center;
	width: 100%;
}




.privacy-page th {
	font-size: 12px;
	padding: 5px;
	background: #e7e7e7;
	color: #5a6171;
}

.privacy-page td {
	font-size: 12px;
	padding: 3px 5px 3px 5px;
}

.content-indented {
    padding: 0 20px;
}


.most-borrowed {
	background: #004c98;
	color: #fff;
	padding: 20px 30px;
}

.most-borrowed h3 {
	color: #fff;

	margin-left: 0;
}

.most-borrowed-grid {
	margin-top: 25px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
}

.most-borrowed .format {
	color: #fff;
}

.most-borrowed .ulv-genre-slider-img {
	width: 15%;
	margin: 1em auto;
	overflow: hidden;
	position: relative;
	background: #000;
	float: left;
	height: auto;
}


.most-borrowed .image-overlay {
	/* NOT SURE ABOUT THIS */
	display: none;
}

.most-borrowed .ulv-genre-slider-attrs {
	float: left;
	padding-top: 20px;
	width: 65%;

	min-height: 0;
}

.most-borrowed a {
	color: #fff;
}

.most-borrowed span {
	font-weight: 700;
}

.most-borrowed-number {
	float: left;
	width: 15%;
	text-align: center;
	padding-top: 35px;
}

.most-borrowed .book-title {
  color: #fff;
}

.most-borrowed .slider-contributors,
.most-borrowed .slider-contributors a {
	color: #fff;
	font-size: 16px;
	padding-top: 0;
	font-weight: normal;
}

.most-borrowed .col-md-4 {
	border-bottom: 1px solid rgba(204, 204, 204, .25);
	padding-bottom: 15px;
	margin-bottom: 15px;
	min-height: 115px;
}

.footer-clubs-container {
	background: #004c98;
	margin: 50px 0;
	float: left;
	width: 100%;
}

.footer-clubs {
	max-width: 1280px;
	margin: 0 auto;
	color: #fff;
	padding: 0 15px;
}

.club {
	float: left;
	width: 46%;
	padding: 35px 0;
	margin: 0 2%;
}

.club img {
	width: 135px;
	float: left;
	margin-right: 30px;
}

.club h3 {
	color: #fff;
}

.club a:link {
	background: #fff;
	color: #004c98;
	padding: 10px 15px 9px;
	border-radius: 4px;
	margin-top: 5px;
	display: inline-block;
	font-weight: 700;
}

.club a:hover {
	background: #737373;
	color: #fff;
	text-decoration: none;
}


/* ADDED TO ALLOW FULL PAGE CONTAINER DIV TO BE REMOVED */
.self-containing {
	max-width: 1280px;
	margin: 0 auto;
}

.browse-filters {
	float: left;
	width: 20%;
	margin-right: 5%;
}

.browse-filters h3 {
	font-size: 15px;
	margin-top: 26px;
	margin-left: 0;
}

.browse-wrapper {
	float: left;
	width: 70%;
}

.browse-filters span.filter-heading {
	padding: 10px 0;
	border-bottom: 1px solid #ccc;
	display: block;
	color: #737373;
	font-size: 16px;
}

.browse-toggle {
	float: right;
	font-size: 28px;
	display: block;
	margin-top: -9px;
	cursor: pointer;
}

.browse-filters-actions {
	margin-top: 20px;
	display: block;
}

.browse-filters-actions input[type="button"].apply {
	width: 48%;
	background: #004C97;
	border: 2px solid #004C97;
	border-radius: 4px;
	padding: 6px;
	color: #fff;
	margin: 0 2% 0 0;
}

.browse-filters-actions input[type="button"].clear {
	width: 48%;
	background: #fff;
	border: 3px solid #004C97;
	border-radius: 4px;
	padding: 6px;
	color: #004C97;
	margin: 0;
	font-weight: 600;
}

.browse-filter-options {
	margin: 15px 0;
}


.browse-filter-options input[type="radio"] {
	margin-right: 5px;
}

.genre-heading {
	display: block;
	margin-bottom: 10px;
}

.genre-heading.NON-FICTION {
	margin-top: 12px;
}

.update-arrow {
  font-size: 18px;
  font-weight: 700;
}


/* RESPONSIVE STYLES */

@media screen and (max-width: 1320px) {
	.update { margin-left: -15px; margin-right: -15px;}
}

@media screen and (min-width: 768px) {
	.navbar-right { margin-right: 0!important; }
}

@media screen and (min-width: 1200px) {
	.container { width: 100%; max-width: 1280px; }
	#search-box-for-mobile{display:none;}
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
	.product-page .btn-default { font-size: 11px!important; padding: 5px 10px 5px 10px; }
	.product-page #audio-preview { font-size: 11px; padding: 6px 10px 5px 10px; }

	.product-buttons .btn.btn-default.btn-ulv.audiobook:after { margin: 0 0 -4px 5px; }
	.product-page #audio-preview:after { margin: 0 0 -4px 5px; }

	.product-page .btn.btn-default.share { padding: 5px 10px 5px 10px; }
	.product-page .btn.btn-default.share:after { margin: 0 0 -5px 5px; }

	.btn.btn-default.btn-ulv.ebook { padding: 7px 10px 5px 10px; }
	.btn.btn-default.btn-ulv.ebook::after { margin: 0 0 -3px 5px; }

	.ulv-genre-slider-attrs { min-height: 180px; }

	#search-box-for-mobile{display:none;}
}

@media screen and (min-width: 992px) {
	.col-grid5 { min-height: 435px; }
}

@media screen and (max-width: 991px) {
	.col-grid5 { min-height: 340px; }
}

@media screen and (max-width: 768px) {
	.col-grid5 { min-height: 470px; }
}

@media screen and (max-width: 767px) {
	.col-grid5 { min-height: 400px; }
}

@media screen and (max-width: 660px) {
	.col-grid5 { min-height: 350px; }
}

@media screen and (max-width: 600px) {
	.col-grid5 { min-height: 420px; }
}


/* TRYING TO FIX TABLET MENU */
@media screen and (min-width: 768px) and (max-width: 991px) {
	#search-box-for-mobile { display: none!important; }
}

@media screen and (max-width: 991px) {
	/*#search-box-for-desktop{display:none;}*/

	.product-page h1 { margin-top: 15px; }
	.product-page ul.product-attributes { padding-left: 0; }
	.product-page .view-attrs-name { padding-right: 10px; }

	.ulv-genre-slider-attrs { min-height: 0; }

	.most-borrowed .col-md-4 { display: inline-block; width: 48%; }

	.browse-filters-actions input[type="button"].apply { width: 100%; margin: 0 0 10px; }
	.browse-filters-actions input[type="button"].clear { width: 100%; }
}

@media screen and (min-width: 768px) and (max-width: 768px) {
	.navbar-nav { margin: 5px 0 0 0!important; }
	.navbar-left input[type="text"] { width: 55%!important; margin-left: 0!important; margin-right: 0!important; }
	.container { max-width: 750px!important; width: auto!important; }
	.col-grid5 { width: 33.333%!important; }
}


@media screen and (max-width: 768px) {

	.navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #767e91; }

	.navbar-default .navbar-nav > li > a { padding: 10px 0 10px 25px; border-bottom: 0 none;}
	.navbar-default .navbar-nav > li > a:hover { border-bottom: 0 none; }
	.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover { border-bottom: 0 none; }
	.dropdown-menu li{ width: 100%; }
	.mega-items { margin: 5px 0 5px 40px; }
	.mega-next { display: none;}
	.mega-dropdown h2 { font-size: 16px; margin-left: 20px; }
	.mega-dropdown h2.mega-ebook-title:before { display: none; }
	.mega-dropdown h2.mega-audio-title:before { display: none; }

	.navbar-left input[type="text"] { width: 83%; margin-left: 8%; margin-right: 8%; }
	.navbar-default .navbar-collapse, .navbar-default .navbar-form { border-top: 0; border-bottom: 0; }
	.navbar-container { margin-bottom: 10px; margin-left: -15px; margin-right: -15px; }
	.navbar-right .advanced-search { margin-right: 15px; margin-bottom: 5px; padding-right: 15px; }
	.navbar-nav { margin: 0px -15px; }
	.styled-keywords { margin-bottom: 10px; }

	.help-nav { margin-left: 2%; width: 27%; }
	.help-container { margin-right: 2%; width: 65%;}

	.most-borrowed .col-md-4 { display: inline-block; width: 96%; }
	.club { width: 96%; margin: 0 2%; }

	.browse-filters { width: 100%; margin-right: 0; }
	.browse-wrapper { width: 100%; }

}

@media screen and (max-width: 680px) and (max-width: 729px) {
	.navbar-left input[type="text"] { width: 82%; }
}

@media screen and (max-width: 630px) and (max-width: 679px) {
	.navbar-left input[type="text"] { width: 81%; }
}

@media screen and (max-width: 590px) and (max-width: 629px) {
	.navbar-left input[type="text"] { width: 80%; }
}

@media screen and (max-width: 560px) and (max-width: 589px) {
	.navbar-left input[type="text"] { width: 78%; }
}

@media screen and (max-width: 530px) and (max-width: 559px) {
	.navbar-left input[type="text"] { width: 77%; }
}

@media screen and (max-width: 511px) and (max-width: 529px) {
	.navbar-left input[type="text"] { width: 76%; }
}

@media screen and (max-width: 475px) and (max-width: 510px) {
	.navbar-left input[type="text"] { width: 75%; }
}

@media screen and (max-width: 450px) and (max-width: 474px) {
	.navbar-left input[type="text"] { width: 74%; }
}

@media screen and (max-width: 430px) and (max-width: 449px) {
	.navbar-left input[type="text"] { width: 73%; }
}

@media screen and (max-width: 410px) and (max-width: 429px) {
	.navbar-left input[type="text"] { width: 72%; }
}

@media screen and (max-width: 390px) and (max-width: 409px) {
	.navbar-left input[type="text"] { width: 71%; }
}

@media screen and (max-width: 370px) and (max-width: 389px) {
	.navbar-left input[type="text"] { width: 70%; }
}

@media screen and (max-width: 350px) and (max-width: 369px) {
	.navbar-left input[type="text"] { width: 69%; }
}

@media screen and (max-width: 330px) and (max-width: 349px) {
	.navbar-left input[type="text"] { width: 68%; }
}






@media screen and (max-width: 680px) {
	.banner-container { margin-left: 0; margin-right: 0; }
	#dyslexic-form { display: none; }
	#library-name { border-right: 0 none;}
	.brand-container .nav-pills li { font-size: 11px; }
}

@media screen and (max-width: 510px) {
	/*.content { padding: 0; }
	.header .pull-right:{width:100%;}
	.header .pull-right p { font-size: 10px; margin: 3px 5% 5px 5%; }
	.header .pull-right img { max-width:100%; height:auto; margin: 10px 5% 3px 15px; max-height: 52px; }
	.header .pull-left { height: auto; width: 195px; background-size: 100% auto; padding: 12px 5px 5px 5px; font-size: 9px; line-height: 11px; min-height: 82px; }
	.header .pull-left .android-icon { margin-bottom: 4px; margin-right: 12px; }
	.header .pull-left .apple-icon { margin-bottom: 10px; margin-right: 12px; }
	.header .pull-left .android-icon img, .header .pull-left .apple-icon img { width: 18px; }

	#library-name { margin-left: 15px; padding-right: 0; border-right: 0; margin-right: 0; font-size: 10px; line-height: 12px; display: block; width: 100%; }*/

	.container.brand-container { padding: 0; margin: 0 15px 0 15px; }
	.content .container.header-container .row { height: auto; }

	.footer { font-size: 11px; display: inline-block; }
	.footer .pull-left { margin-top: 5px; width: 100%; }
	.footer-upper { font-size: 11px; }
	.footer-upper .pull-left { float: left!important; margin-bottom: 10px;}
	.product-page .view-attrs-name { padding-right: 10px; width: 40%; }
	.nav-pills > li.loans-end { border-left: 0; padding-left: 0; margin-left: 0; clear: both; }
	.nav-pills > li { padding: 0 3px 0 3px; font-size: 12px; }
	.brand-container .nav-pills li { font-size: 11px; padding-top: 5px; padding-bottom: 5px; }
	.nav.nav-pills.pull-left { padding-right: 0; }
	li.sub-nav-1 { display: none;}
	.media-tabs > li { font-size: 12px; padding: 5px; }

	.myaccount-grid { min-height: 320px; }

	.help-nav { margin-left: 2%; margin-right: 2%; width: 96%; }
	.help-container { margin-left: 2%; margin-right: 2%; width: 96%; }

	.sitemap-container { width: 100%; }
	.aboutus-container { width: 100%; }
	.terms-container { width: 100%; }
	.copyright-container { width: 100%; }

	.product-page .btn-default { width: 100%; }
	#audio-preview { width: 100%; }
	.product-page ul.product-attributes { font-size: 12px; }
	.product-page .view-attrs-name { width: 50%; }

	.confirm-panel .col-lg-5 { float: left; width: 40%; padding-bottom: 10px; }
	.confirm-panel .col-lg-7 { float: left; width: 55%; }
	.confirm-panel .col-lg-7.confirm { clear: both; display: block; width: 100%; }
	.confirm-panel .col-lg-12 { clear: both; }
	.confirm-panel .btn-default { width: 100%; }
	.confirm-panel .return-note { font-size: 13px; padding:  10px 0 10px 0; display: block; }

	.nav-tabs > li > a, .nav-tabs > li > a:focus { padding-left: 8px; padding-right: 8px; }
	.help-container .accordion { font-size: 14px; }
	.nav-tabs { margin-left: 30px; margin-right: 30px; margin-bottom: 0; }
	h1 { border-bottom: 2px solid #DFE1E7; padding-bottom: 15px; }

	h2.audioborrowed { margin-left: 15px; }
	h2.bookborrowed { margin-left: 15px; }
	#acc-loans-books p, #acc-reserves-books p, #acc-history-books p, #acc-nextread-books p { padding-left: 15px; padding-right: 15px; }

	.browse-view .col-grid5 { min-height: 325px;}
	.col-md-6.showing { padding-top: 15px; clear: both; }

	.downloadable .col-md-4 { float: left; width: 40%; padding-bottom: 10px; }
	.downloadable .col-md-8 { float: left; width: 55%; }
	.downloadable .col-md-8.download-links { width: 100%; }
	.downloadable .col-md-8.confirm { clear: both; display: block; width: 100%; }
	.downloadable .synopsis { display: none; }
	.downloadable .col-md-12 { clear: both; }
	.download-links-wrapper h3 { font-weight: 700; color: #737373; font-size: 16px; }

	.ebook-download-inst-block { margin-top: 15px; }
	.download-ebook-reader-btn { display: block; margin-right: 0; margin-bottom: 10px;}

	.club a:link { margin-top: 25px; display: block; text-align: center; }
}

@media screen and (max-width: 430px) {
	.header .pull-left { height: 111px; width: 50%; background-size: 100% auto; }
	.pull-right { width: 50%; }
	#library-name { margin-left: 0; padding-right: 10px; text-align: right; width: 100%; }
	.nav.nav-pills.pull-right { width: 100%; }
}


.slideshow .col-grid5 {
  min-height: 0;
}


.drm {
    margin-top: 20px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 5px;
	margin-bottom: 40px;
}


/* App Store / Google Store banners */

.downloads-banner {
    float: left;
    width: 100%;
    background: #e7e7e7;
    padding: 20px 2%;
    margin-top:20px;
}

.downloads-banner img {
    float: right;
    width: 150px;
}

.downloads-banner h3 {
    margin: 10px 0;
    color: #004c97;
}

.download-banner-text {
    float: left;
    color: #141414;
}

.downloads-banner img {
    float: right;
    width: 170px;
    margin: 10px 0 0 15px;
}

@media screen and (max-width: 992px) {
    .downloads-banner img {
        float: left;
        width: 220px;
        margin: 20px 15px 20px 0;
        display: block;
    }
    .download-banner-text {
        float: none;
    }
}

@media screen and (max-width: 500px) {
    .downloads-banner img {
        float: left;
        width: 155px;
    }
}

/* https://edinburgh.ulverscroftulibrary.com */

.edinburgh-banner {
  background: #242424;
  color: #fff;
  padding: 15px 25px;width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.edinburgh-banner a {
  color: #fff;
}

.edinburgh-banner a:hover {
  color: #ccc;
}
