From a9069c6b445bd15ce01f6042624392e7b3fa6041 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Fri, 9 Nov 2018 21:39:26 +0000 Subject: [PATCH] Bug 15565: (follow-up) Added handling for holds_per_day and respecting AllowHoldPolicyOverride On OPAC and staff side this commit adds handling to respect the holds per day circ rules setting. In the OPAC once either maxreserves, holds per day or holds per record (depending on which of the 3 values is lowest) is reached then remaining unchecked item checkboxes are disabled. On the staff side the same happens however if the AllowHoldPolicyOverride is enabled then the checkboxes do not disable but the staff member still sees warning modal boxes appear. Also added unit test for new function GetAllowedHoldsForPatronToday in C4::Reserves. Sponsored-By: Brimbank Library, Australia --- C4/Reserves.pm | 35 ++++++++++++++++++++++ .../prog/en/modules/reserve/request.tt | 25 +++++++++++++--- koha-tmpl/opac-tmpl/bootstrap/css/opac.css | 2 +- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 1 + .../opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 26 ++++++++++++++++ opac/opac-reserve.pl | 13 +++++++- reserve/request.pl | 18 +++++++++++ t/db_dependent/Reserves/MultiplePerRecord.t | 19 ++++++++++-- 8 files changed, 131 insertions(+), 8 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 48aab41..15b79a5 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -4,6 +4,7 @@ package C4::Reserves; # 2006 SAN Ouest Provence # 2007-2010 BibLibre Paul POULAIN # 2011 Catalyst IT +# 2018 Catalyst IT # # This file is part of Koha. # @@ -139,6 +140,7 @@ BEGIN { IsItemOnHoldAndFound GetMaxPatronHoldsForRecord + GetAllowedHoldsForPatronToday ); @EXPORT_OK = qw( MergeHolds ); } @@ -2120,6 +2122,39 @@ sub GetMaxPatronHoldsForRecord { return $max; } +=head2 GetAllowedHoldsForPatronToday + +my $holds_allowed_on_record_today = GetAllowedHoldsForPatronToday( $patron->borrowernumber, $biblionumber ); + +Calculates and returns the number of item-level holds a borrower is allowed to place on the record on a single day. + +=cut + +sub GetAllowedHoldsForPatronToday { + my ( $borrowernumber, $biblionumber ) = @_; + + my $patron = Koha::Patrons->find($borrowernumber); + my @items = Koha::Items->search( { biblionumber => $biblionumber } ); + + my $controlbranch = C4::Context->preference('ReservesControlBranch'); + + my $categorycode = $patron->categorycode; + my $branchcode; + $branchcode = $patron->branchcode if ( $controlbranch eq "PatronLibrary" ); + + my $holds_allowed = 0; + foreach my $item (@items) { + my $itemtype = $item->effective_itemtype(); + + $branchcode = $item->homebranch if ( $controlbranch eq "ItemHomeLibrary" ); + + my $rule = GetHoldRule( $categorycode, $itemtype, $branchcode ); + my $holds_per_day = $rule ? $rule->{holds_per_day} : 0; + $holds_allowed = $holds_per_day if $holds_per_day > $holds_allowed; + } + return $holds_allowed; +} + =head2 GetHoldRule my $rule = GetHoldRule( $categorycode, $itemtype, $branchcode ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index a18e4f2..52713da 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -670,9 +670,12 @@ [% END %][% END %][% END %] }; var MSG_NO_ITEMS_AVAILABLE = _("A hold cannot be requested on any of these items."); - var MSG_EXCEEDED_HOLDS_PER_RECORD = _("Patron has exceeded the number of holds for this record."); + var MSG_EXCEEDED_HOLDS_PER_RECORD = _("Patron reached the maximum number of holds for this record."); + var MSG_EXCEEDED_HOLDS_PER_DAY = _("Patron reached the maximum number of holds allowed today."); + var MSG_EXCEEDED_MAXRESERVES_SYSPREF = _("Patron reached the maximum number of holds allowed at once"); var remainingHolds = "[% remaining_holds_for_record | html %]"; - + var remainingHoldsToday = "[% remaining_holds_allowed_today | html %]"; + var maxreserves = "[% maxreserves | html %]"; $(document).ready(function() { function ToggleHoldsToPlace() { if ( $("#requestany").prop('checked') ) { @@ -685,7 +688,6 @@ $("#requestany").on('change', function(){ ToggleHoldsToPlace(); }); - [% IF AutoResumeSuspendedHolds %] $(".suspend_until_datepicker, .datepickerfrom, .datepickerto").datepicker("option", "minDate", 1); [% END %] @@ -807,8 +809,23 @@ } else { $("#requestany").prop("checked",true); } - if (remainingHolds - numchecked < 0) { + if (remainingHolds - numchecked <= 0) { alert(MSG_EXCEEDED_HOLDS_PER_RECORD); + [% IF !(Koha.Preference('AllowHoldPolicyOverride')) %] + $('input[name=checkitem]:not(:checked)').attr('disabled', 'disabled'); + [% END %] + } + if (remainingHoldsToday - numchecked <= 0) { + alert(MSG_EXCEEDED_HOLDS_PER_DAY); + [% IF !(Koha.Preference('AllowHoldPolicyOverride')) %] + $('input[name=checkitem]:not(:checked)').attr('disabled', 'disabled'); + [% END %] + } + if (maxreserves - numchecked <= 0) { + alert(MSG_EXCEEDED_MAXRESERVES_SYSPREF); + [% IF !(Koha.Preference('AllowHoldPolicyOverride')) %] + $('input[name=checkitem]:not(:checked)').attr('disabled', 'disabled'); + [% END %] } }); var prev_rank_request; diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css index 63c66a7..acff734 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/opac.css +++ b/koha-tmpl/opac-tmpl/bootstrap/css/opac.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:NotoSans;font-style:normal;font-weight:400;src:local("Noto Sans Regular"),url(fonts/NotoSans-Regular-webfont.woff2) format("woff2"),url(fonts/NotoSans-Regular-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:bold;font-weight:700;src:local("Noto Sans Bold"),url(fonts/NotoSans-Bold-webfont.woff2) format("woff2"),url(fonts/NotoSans-Bold-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:italic;font-weight:400;src:local("Noto Sans Italic"),url(fonts/NotoSans-Italic-webfont.woff2) format("woff2"),url(fonts/NotoSans-Italic-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:italic;font-weight:700;src:local("Noto Sans Bold Italic"),url(fonts/NotoSans-BoldItalic-webfont.woff2) format("woff2"),url(fonts/NotoSans-BoldItalic-webfont.woff) format("woff")}body{background:#fcf9fc none;font-family:sans-serif;font-size:16px}.fonts-loaded body{font-family:NotoSans}body,html{height:100%}.no-js .dateformat{display:inline;white-space:nowrap}.no-js .modal-body{padding:0}.js .dateformat,.no-js .selections-toolbar{display:none}#wrap{height:auto!important;height:100%;min-height:100%;padding-right:40px;padding-left:40px}.fa.fa-icon-black,.fa.fa-icon-white{color:#000}#changelanguage .nav>.active>p{padding:0 15px}.popup{padding-left:0;padding-right:0}.popup .main{font-size:90%;padding:0 1em}.popup legend{line-height:1.5em;margin-bottom:.5em}a{color:#0076b2}a.cancel{padding-left:1em}a:visited{color:#0076b2}a.title{font-size:108%;font-weight:700}a.btn:visited{color:#333}a.btn-primary:visited{color:#fff}a.login-link{color:#005580;font-weight:700}a.login-link.loginModal-trigger{color:#85ca11}a.listmenulink:link,a.listmenulink:visited{color:#0076b2;font-weight:700}a.listmenulink:active,a.listmenulink:hover{color:#fff;font-weight:700}a .idreambooksrating{color:#29ade4;font-size:30px;line-height:30px;padding-left:85px;text-decoration:none}a.reviewlink,a.reviewlink:visited{color:#000;font-weight:400;text-decoration:none}a.addtocart{background-position:-5px -262px;padding-left:35px}a.addtoshelf{background-position:-5px -222px;padding-left:35px}a.brief{background-position:-2px -868px}a.brief,a.detail{padding-left:27px}a.detail{background-position:-2px -898px}a.download{background-position:-5px -348px;padding-left:20px}a.editshelf{background-position:2px -348px;padding-left:26px}a.empty{background-position:2px -598px;padding-left:30px}a.hide{background-position:-3px -814px;padding-left:26px}a.highlight_toggle{background-position:-5px -836px;display:none;padding-left:35px}a.hold{background-position:-2px -453px;padding-left:23px}a.hold.disabled{background-position:-5px -621px}a.incart{background-position:-5px -265px;color:#666;padding-left:35px}a.new{background-position:-4px -922px;padding-left:23px}a.print-small{background-position:0 -423px;padding-left:30px}a.print-large{background-position:0 -187px;padding-left:35px}a.removeitems{background-position:2px -690px;padding-left:25px}a.removeitems.disabled{background-position:2px -712px}a.reserve{background-position:-6px -141px;padding-left:35px}a.article_request{background-position:0 -24px;padding-left:35px}a.send{background-position:2px -386px;padding-left:28px}a.sharelist{background-position:2px -1148px;padding-left:26px}a.tag_add{background-position:3px -1111px;padding-left:27px}h1{font-size:140%;line-height:150%;color:#727272}h1#libraryname{background:transparent url(../images/logo-koha.png) no-repeat scroll 0;border:0;float:left!important;margin:0;padding:0;width:120px}h1#libraryname a{border:0;cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:40px 0 0;text-decoration:none;width:120px}h2{font-size:130%}h2,h3{color:#727272;line-height:150%}h3{font-size:120%}h4{font-size:110%}h5{font-size:100%}caption,h5{color:#727272}caption{font-size:120%;font-weight:700;margin:0;text-align:left}input,textarea{width:auto}.input-fluid{width:50%}legend{font-size:110%;font-weight:700;color:#727272}table{font-size:90%}table,td{background-color:#fff}td img{max-width:none}td.overdue{color:#c33}td .sum{background-color:#ffffe5;font-weight:700}td .btn{white-space:nowrap}td .btn-link{padding:0}th{background-color:#e2e8e8}th.sum,th[scope=row]{text-align:right}th[scope=row]{background-color:transparent}#advsearches label,#basketcount,#booleansearch label{display:inline}#basketcount{margin:0;padding:0}#basketcount span{border-radius:3px;background-color:#85ca11;color:#fff;display:inline;font-family:NotoSans;font-size:80%;font-weight:400;margin:0 0 0 .9em;padding:0 .3em}#members{display:block}#members p{color:#727272}#members a.logout{color:#e8583c;font-weight:700;padding:0 .3em}#koha_url p{color:#666;float:right;margin:0}#moresearches{margin:.5em 0;padding:0 .8em}#moresearches li{display:inline;white-space:nowrap}#moresearches li:after{content:" | "}#moresearches li:last-child:after{content:""}#moresearches ul{margin:0}#news{margin:.5em 0}.newscontainer{border:1px solid #ddd;border-bottom-width:0}.newsheader{background-color:#f0f3f3;border-bottom:1px solid #ddd;color:#727272;margin:0;padding:8px}.newsbody{padding:8px}.newsfooter{border-bottom:1px solid #ddd;font-style:italic;padding:4px 8px}#opacheader{background-color:#fcf9fc}#numresults,#selections{color:#727272}#selections{font-weight:700}#selections-toolbar{background:#e2e8e8 none;border-bottom:none;margin-top:3px}.selections{font-weight:700}.selections-toolbar.toolbar{background:#e2e8e8 none}.actions a{background-repeat:no-repeat;margin-right:1em;text-decoration:none;white-space:nowrap}.actions a.hold{background-position:-5px -539px}.actions a.article_request,.actions a.hold{background-image:url(../images/sprite.png);padding-left:21px}.actions a.article_request{background-position:-2px -26px}.actions a.addtocart{background-position:-5px -570px}.actions a.addtocart,.actions a.addtoshelf{background-image:url(../images/sprite.png);padding-left:20px}.actions a.addtoshelf{background-position:-5px -24px}.actions a.addtolist{background-position:-5px -27px;padding-left:20px}.actions a.tag_add{background-position:-5px -1110px;padding-left:20px}.actions a.removefromlist{background-position:-8px -690px;padding-left:15px}.alert{background:linear-gradient(180deg,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665);border-color:#d6c43b;color:#333}.alert .closebtn{line-height:20px;position:relative;right:-21px;top:-2px}.alert-info{background:linear-gradient(180deg,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2);border-color:#c5d1e5;color:#333}.alert-success{background:linear-gradient(180deg,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28);border-color:#9fba35;color:#333}.breadcrumb{background-color:#f0f3f3;font-size:85%;list-style:none outside none;margin:10px 20px;padding:5px 10px;border-radius:0}.buttons-print{background-color:transparent;background-position:0 -184px;border:0;color:#0076b2;font-size:100%;padding-left:35px}.form-inline{display:inline;margin:0;padding:0}.form-inline fieldset{margin:.3em 0;padding:.3em}.main{background-color:#fff;border:1px solid #f0f3f3;margin-bottom:.5em;margin-top:.5em}.mastheadsearch{background:#f0f3f3;margin:.5em 0;padding:.8em}.mastheadsearch label{color:#727272;font-size:115%;font-weight:700}.btn-primary{font-family:NotoSans}.btn-primary,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary:visited{background-color:#85ca11;background-image:linear-gradient(180deg,#85ca11,#77b50f);background-position:0}input[type=password]:focus,input[type=text]:focus{border-color:#85ca11;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(82,63%,71%,.6)}.navbar .divider-vertical{border-left-color:#fcf9fc;border-right-color:#fcf9fc}.navbar .nav li.dropdown>a:focus .caret,.navbar .nav li.dropdown>a:hover .caret{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inverse .brand{color:#9fe1ff;font-weight:700}.navbar-inverse .navbar-inner{background:#fcf9fc none;border-color:#fcf9fc;box-shadow:none}.navbar-inverse .nav>li>a{color:#727272;font-weight:700;text-shadow:none}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#85ca11}.navbar-inverse .nav li.dropdown>a:focus .caret,.navbar-inverse .nav li.dropdown>a:hover .caret{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle{background-color:transparent;color:#85ca11}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret:hover{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inner{background:#fcf9fc none}.navbar-fixed-bottom.navbar-static-bottom{margin-top:.5em;position:static}.navbar-fixed-bottom .navbar-inner{box-shadow:none}[class*=" icon-"],[class^=icon-]{vertical-align:0}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f0f3f3}#availability_facet,#facet-holdings-library{color:#727272}#toolbar.toolbar{border:1px solid #f0f3f3}#toolbar.toolbar,#toolbar.toolbar.clearfix{background-color:#f0f3f3}.ui-tabs-nav .ui-tabs-active a,.ui-tabs-nav a:active,.ui-tabs-nav a:focus,.ui-tabs-nav a:hover,.ui-tabs-nav span.a{background:none repeat scroll 0 0 transparent;outline:0 none}.ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:NotoSans;font-size:inherit}ul.ui-tabs-nav li{list-style:none}.ui-tabs .ui-tabs-nav li{background:#f0f3f3 none;border-color:#d8d8d8;margin-right:.4em}.ui-tabs .ui-tabs-nav li.ui-tabs-active{background-color:#fff;border:1px solid #d8d8d8;border-bottom:0}.ui-tabs .ui-tabs-nav li.ui-tabs-active a{color:#727272;font-weight:700}.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover,.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover.ui-state-active{background:#fff none}.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover{background:#f3f3f3 none}.ui-tabs .ui-tabs-panel{border:1px solid #d8d8d8;margin-bottom:1em}.ui-tabs.ui-widget-content{background:transparent none;border:0}.ui-tabs .ui-state-default a,.ui-tabs .ui-state-default a:link,.ui-tabs .ui-state-default a:visited{color:#069}.ui-tabs .ui-state-hover a,.ui-tabs .ui-state-hover a:link,.ui-tabs .ui-state-hover a:visited{color:#903}.ui-tabs-nav.ui-widget-header{background:none;border:0}.ui-corner-top{border-radius:0}.statictabs ul{background:none repeat scroll 0 0 transparent;border:0 none;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;color:#222;font-size:100%;font-weight:700;line-height:1.3;list-style:none outside none;margin:0;outline:0 none;padding:.2em .2em 0;text-decoration:none}.statictabs ul:after,.statictabs ul:before{content:"";display:table}.statictabs ul:after{clear:both}.statictabs li{background:none repeat scroll 0 0 #e6f0f2;border:1px solid #b9d8d9;border-bottom:0 none!important;border-top-left-radius:4px;border-top-right-radius:4px;color:#555;float:left;font-weight:400;list-style:none outside none;margin-bottom:0;margin-right:.4em;padding:0;position:relative;top:1px;white-space:nowrap}.statictabs li.active{background-color:#fff;color:#212121;font-weight:400;padding-bottom:1px}.statictabs li.active a{background:none repeat scroll 0 0 transparent;color:#000;cursor:text;font-weight:700;outline:0 none}.statictabs li a{color:#004d99;cursor:pointer;float:left;padding:.5em 1em;text-decoration:none}.statictabs li a:hover{background-color:#edf4f5;border-top-left-radius:4px;border-top-right-radius:4px;color:#538200}.statictabs .tabs-container{background:none repeat scroll 0 0 transparent;border:1px solid #b9d8d9;border-bottom-left-radius:4px;border-bottom-right-radius:4px;color:#222;display:block;padding:1em 1.4em}.ui-datepicker{box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-datepicker table{border:0;border-collapse:collapse;font-size:.9em;margin:0 0 .4em;width:100%}.ui-datepicker th{background:transparent none;border:0;font-weight:700;padding:.7em .3em;text-align:center}.ui-datepicker-trigger{margin:0 3px;vertical-align:middle}.ui-widget-content{background:#fff none;border:1px solid #aaa;color:#222}.ui-widget-content a,.ui-widget-content a:visited{color:#0076b2}.ui-widget-header{background:#e6f0f2 none;border:1px solid #aaa;color:#222;font-weight:700}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{background:#f4f8f9 none;border:1px solid #aaa;color:#555;font-weight:400}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{background:#e6f0f2 none;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{background:#fff none;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{background:#fbf9ee;border:1px solid #fcefa1;color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{background:#fef1ec;border:1px solid #cd0a0a;color:#cd0a0a}.item-thumbnail{max-width:none}.no-image{border-radius:3px;background-color:#fff;border:1px solid #aaa;color:#979797;display:block;font-size:86%;font-weight:700;text-align:center;width:75px}#bookcover{float:left;margin:0;padding:0}#bookcover .no-image{margin-bottom:10px;margin-right:10px}#bookcover img{margin:0 1em 1em 0}.required{color:#c00}.label{background-color:transparent;color:inherit;display:inline;font-weight:400;padding:0;text-shadow:none}.blabel{background-color:#999;border-radius:3px;color:#fff;display:inline-block;font-weight:700;padding:2px 4px;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.label-important{background-color:#b94a48}.label-warning{background-color:#f89406}.label-success{background-color:#468847}.label-info{background-color:#3a87ad}.label-inverse{background-color:#333}fieldset.rows{clear:left;float:left;font-size:90%;margin:.9em 0 0;padding:0;width:100%}fieldset.rows legend{font-size:130%;font-weight:700}fieldset.rows .label,fieldset.rows label{float:left;font-weight:700;margin-right:1em;text-align:right;width:9em}fieldset.rows label.lradio{float:none;margin:inherit;width:auto}fieldset.rows fieldset{margin:0;padding:.3em}fieldset.rows ol{list-style-type:none;padding:1em 1em 0}fieldset.rows ol.lradio label{float:none;margin-right:0;width:auto}fieldset.rows ol.lradio label.lradio{float:left;margin-right:1em;width:12em}fieldset.rows li{clear:left;float:left;list-style-type:none;padding-bottom:1em;width:100%}fieldset.rows li.lradio{padding-left:8.5em;width:auto}fieldset.rows li.lradio label{float:none;margin:0 0 0 1em;width:auto}fieldset.rows .hint{display:block;margin-left:11em}fieldset.action{border:0;clear:both;float:none;margin:0;padding:1em 0 .3em;width:auto}fieldset.action p{margin-bottom:1em}fieldset table{font-size:100%}div.rows{float:left;clear:left;margin:0;padding:0;width:100%}div.rows+div.rows{margin-top:.6em}div.rows span.label{float:left;font-weight:700;margin-right:1em;text-align:left;width:9em}div.rows ol{list-style-type:none;margin-left:0;padding:.5em 1em 0 0}div.rows ol li li{border-bottom:0}div.rows li{border-bottom:1px solid #eee;clear:left;float:left;list-style-type:none;padding-bottom:.2em;padding-top:.1em;width:100%}div.rows ul li{margin-left:7.3em}div.rows ul li:first-child{clear:none;float:none;margin-left:0}.tagweight0{font-size:12px}.tagweight1{font-size:14px}.tagweight2{font-size:16px}.tagweight3{font-size:18px}.tagweight4{font-size:20px}.tagweight5{font-size:22px}.tagweight6{font-size:24px}.tagweight7{font-size:26px}.tagweight8{font-size:28px}.tagweight9{font-size:30px}.toolbar{background-color:#eee;border:1px solid #e8e8e8;font-size:85%;padding:3px 3px 5px 5px;vertical-align:middle}.toolbar a{white-space:nowrap}.toolbar label{display:inline;font-size:100%;font-weight:700;margin-left:.5em}.toolbar select{font-size:97%;height:auto;line-height:inherit;margin:0;padding:0;white-space:nowrap;width:auto}.toolbar #tagsel_tag,.toolbar .hold{font-size:97%;font-weight:700;padding-left:28px}.toolbar #tagsel_form{margin-top:.5em}.toolbar li{display:inline;list-style:none}.toolbar li a{border-left:1px solid #e8e8e8}.toolbar li:first-child a{border-left:0}.toolbar ul{padding-left:0}#basket .toolbar{padding:7px 5px 9px 9px}#selections-toolbar,.selections-toolbar{background:linear-gradient(top,#b2b2b2,#e0e0e0 14%,#e8e8e8);margin:0 0 1em;padding-left:10px;padding-top:.5em}.list-actions{display:inline}#tagsel_span input.submit,#tagsel_tag{background-color:transparent;background-image:url(../images/sprite.png);background-position:1px -643px;background-repeat:no-repeat;border:0;color:#0076b2;cursor:pointer;font-size:100%;padding-left:25px;text-decoration:none}#selections-toolbar input.hold:hover,#tagsel_span input:hover{color:#005580;text-decoration:underline}#selections-toolbar a.disabled,#selections-toolbar a.disabled:hover,#selections-toolbar input.hold.disabled,#selections-toolbar input.hold.disabled:hover,#tagsel_span input.disabled,#tagsel_span input.disabled:hover,#tagsel_span input.hold.disabled,#tagsel_span input.hold.disabled:hover,.selections-toolbar a.disabled,.selections-toolbar a.disabled:hover{color:#888;padding-left:23px;text-decoration:none}#tagsel_tag.disabled{background-position:-1px -667px}.results_summary{color:#707070;display:block;font-size:85%;padding:0 0 .5em}.results_summary .results_summary{font-size:100%}.results_summary.actions{margin-top:.5em}.results_summary.tagstatus{display:inline}.results_summary .label{color:#202020}.results_summary a{font-weight:400}#views{margin-bottom:.5em;padding:0 2em .2em .2em}.view{background-color:#f0f3f3;border:1px solid #c9c9c9;border-radius:4px;color:#727272;display:inline-block;padding:.2em .5em;white-space:nowrap}.view a,.view span{background-image:url(../images/sprite.png);background-repeat:no-repeat;font-size:87%;font-weight:400;padding-left:15px;text-decoration:none}#bibliodescriptions,#isbdcontents{clear:left;margin-top:.5em}.current-view{background-color:#fff;font-weight:700}#MARCview{background-position:-9px -28px}#ISBDview{background-position:-10px -56px}#Normalview{background-position:-8px 1px}#Briefhistory,#Fullhistory{background:transparent none;padding-left:0}.results-pagination{background-color:#f3f3f3;display:none;padding-bottom:10px}.close_pagination{display:none}.back{float:right}.back input{background:none!important;color:#999!important}.pagination_list ul{margin:0;padding:0}.pagination_list li{border-top:1px solid #ddd;color:#999;float:bottom;list-style:none;padding:4px}.pagination_list li.highlight{background-color:#ddd}.pagination_list li a{padding-left:0}.pagination_list .li_pag_index{color:#636363;font-size:90%;font-weight:700;padding-right:10px;text-align:right;width:13px}.pagination_footer{background-color:#e1e1e1;text-align:center}.pagination_footer .close_pagination{display:none}.l_Results{background-color:#e1e1e1}.l_Results .close_pagination{float:right;padding:8px 12px}.nav_results{border:1px solid #d0d0d0;font-size:95%;font-weight:700;margin-top:.5em;position:relative}#a_listResults{color:#069;display:inline-block;padding:8px 28px;text-decoration:none}.pg_menu{background-color:#f3f3f3;border-top:1px solid #d0d0d0;margin:0;white-space:nowrap}.pg_menu li{color:#b2b2b2;display:inline-block;float:left;list-style:none;margin:0}.pg_menu li.back_results a{border-left:1px solid #d0d0d0;border-right:1px solid #d0d0d0}.pg_menu li a,.pg_menu li span{background-color:#f3f3f3;display:block;float:left;font-weight:400;padding:.4em .5em;text-align:center;text-decoration:none}.pg_menu li span{color:#b2b2b2}#listResults li{color:#c5c5c5;display:inline-block;font-size:80%;font-weight:400;padding:0;text-align:center}#listResults li a{background-color:#999;color:#fff;display:block;font-weight:400;min-width:18px;text-decoration:none}#listResults li a:hover{background-color:#069}#listResults li .highlight a{background-color:#616161}.nav_pages{border-top:1px solid #ddd;padding:.6em}.nav_pages ul{display:inline-block;margin:0;padding:0}.nav_pages li{color:#999;list-style:none;padding:4px}.nav_pages li a:hover{text-decoration:underline}#action{background-color:#f0f3f3;border:1px solid #e8e8e8;margin:.5em 0 0;padding-bottom:3px}#action li{list-style:none;margin:.2em;padding:.3em 0}#action a{font-weight:700;text-decoration:none}#export li,#moresearches_menu li{margin:0;padding:0}#export li a,#moresearches_menu li a{font-weight:400}#export li a.menu-inactive,#moresearches_menu li a.menu-inactive{font-weight:700}#format,#furthersearches{padding-left:35px}.highlight_controls{float:left}.buttons-print,.deleteshelf,.newshelf,.newshelf.disabled,a.addtocart,a.addtoshelf,a.article_request,a.brief,a.detail,a.download,a.editshelf,a.empty,a.hide,a.highlight_toggle,a.hold,a.hold.disabled,a.incart,a.new,a.print-large,a.print-small,a.removefromlist,a.removeitems,a.removeitems.disabled,a.reserve,a.send,a.sharelist,a.tag_add,input.editshelf,input.hold,input.hold.disabled{background-image:url(../images/sprite.png);background-repeat:no-repeat;text-decoration:none}input.hold{background-color:transparent;background-position:-2px -453px;border:0;color:#0076b2;font-weight:700;padding-left:23px;text-decoration:none}input.hold.disabled{background-position:-5px -621px}input.editshelf{background-color:transparent;background-position:2px -734px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:29px;text-decoration:none}input.editshelf:active{border:0}.newshelf{background-position:2px -761px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:28px}.newshelf.disabled{background-position:-4px -791px}.deleteshelf{background-color:transparent;background-position:2px -687px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:25px;text-decoration:none}.deleteshelf:active{border:0}.deleteshelf:hover{color:#903}.deleteshelf.disabled{background-position:0 -712px}.links a{font-weight:700}#tagslist li{display:inline}#login4tags{background-image:url(../images/sprite.png);background-position:-6px -1130px;background-repeat:no-repeat;padding-left:20px;text-decoration:none}.tag_results_input{font-size:12px;margin-left:1em;padding:.3em}.tag_results_input input[type=text]{font-size:inherit;margin:0;padding:0}.tag_results_input label{display:inline}.tagsinput input[type=text]{font-size:inherit;margin:0;padding:0}.tagsinput label{display:inline}.branch-info-tooltip{display:none}.ui-tooltip-content p{margin:.3em 0}#social_networks a{background:transparent url(../images/social-sprite.png) no-repeat;display:block;height:20px!important;text-indent:-999em;width:20px}#social_networks span{color:#274d7f;display:block;float:left;font-size:85%;font-weight:700;line-height:2em;margin:.5em 0 .5em .5em!important}#social_networks div{float:left!important;margin:.5em 0 .5em .2em!important}#social_networks #facebook{background-position:-7px -35px}#social_networks #twitter{background-position:-7px -5px}#social_networks #linkedin{background-position:-7px -95px}#social_networks #delicious{background-position:-7px -66px}#social_networks #email{background-position:-7px -126px}#marc td,#marc th{background-color:transparent;border:0;padding:3px 5px;text-align:left}#marc td:first-child{text-indent:2em}#marc p{padding-bottom:.6em}#marc p .label{font-weight:700}#marc ul{padding-bottom:.6em}#marc .results_summary{clear:left}#marc .results_summary ul{clear:none;display:inline;float:none;list-style:none;margin:0;padding:0}#marc .results_summary li{display:inline}#items,#items td,#items th{border:1px solid #eee;font-size:90%}#plainmarc table{border:0;font-family:monospace;font-size:95%;margin:.7em 0 0}#plainmarc th{background-color:#fff;text-align:left;white-space:nowrap}#plainmarc td,#plainmarc th{border:0;padding:2px;vertical-align:top}#renewcontrols{float:right;font-size:66%}#renewcontrols a{background-repeat:no-repeat;padding:.1em .4em;padding-left:18px;text-decoration:none}#renewselected_link{background-position:-5px -986px}#renewall_link,#renewselected_link{background-image:url(../images/sprite.png);background-repeat:no-repeat}#renewall_link{background-position:-8px -967px}.authref{text-indent:2em}.authref .label{font-style:italic}.authstanza{margin-top:1em}.authstanza li{margin-left:.5em}.authorizedheading,.authstanzaheading{font-weight:700}.authres_notes,.authres_otherscript,.authres_seealso{padding-top:.5em}.authres_notes{font-style:italic}#didyoumean{border-radius:3px;background-color:#eee;border:1px solid #e8e8e8;box-sizing:border-box;margin:.5em 1.5em;padding:.5em;text-align:left}#didyoumean.dym-loaded{background-color:#fffbea;border-color:#f4ecbe}.suggestionlabel{font-weight:700}.searchsuggestion{display:inline-block;padding:.2em .5em}.authlink{padding-left:.25em}#hierarchies a{color:#069;font-weight:400;text-decoration:underline}#hierarchies a:hover{color:#903}#top-pages{margin:0 0 .5em}.dropdown-menu{border-radius:0}.dropdown-menu>li>a{font-size:90%}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background:#85ca11 none}#cartDetails,#cartUpdate,#holdDetails,#listsDetails{background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);color:#000;display:none;font-size:90%;margin:0;padding:8px 20px;text-align:center;width:180px;z-index:1}#cartmenulink{white-space:nowrap}#menu,#search-facets{border:1px solid #d2d2cf}#menu ul,#search-facets ul{margin:0;padding:.3em}#menu form,#search-facets form{margin:0}#menu h4,#search-facets h4{font-size:90%;margin:0 0 .6em;text-align:center}#menu h4 a,#search-facets h4 a{background-color:#f0f3f3;border-bottom:1px solid #d8d8d8;display:block;font-weight:700;padding:.7em .2em;text-decoration:none}#menu li,#search-facets li{font-size:90%;font-weight:700;list-style-type:none}#menu li li,#search-facets li li{font-size:95%;font-weight:400;line-height:125%;margin-bottom:2px;padding:.1em .2em}#menu li.showmore a,#search-facets li.showmore a{font-weight:700;text-indent:1em}#menu a,#search-facets a{font-weight:400;text-decoration:underline}#menu .facet-count,#search-facets .facet-count{display:inline-block}#menu{font-size:94%}#menu li{list-style-type:none}#menu li a{background-color:#f0f3f3;border:1px solid #d8d8d8;border-bottom-color:#999;display:block;font-size:111%;margin:.4em 0;margin-right:-1px;padding:.4em .6em;text-decoration:none}#menu li a:hover{background:#eaeef5}#menu li.active a{background-image:none;border-right-width:0;font-weight:700}#menu li.active a,#menu li.active a:hover{background-color:#fff}#menu h4{display:none}#addto{max-width:10em}.addto .addtocart{background-image:url(../images/sprite.png);background-position:-5px -266px;background-repeat:no-repeat;padding-left:33px;text-decoration:none}.searchresults p{margin:0;padding:0 0 .6em}.searchresults p.details{color:#979797}.searchresults a.highlight_toggle{background-image:url(../images/sprite.png);background-position:-11px -837px;background-repeat:no-repeat;display:none;font-weight:400;padding:0 10px 0 21px}.searchresults .commentline{border-radius:3px;box-shadow:0 1px 1px 0 rgba(0,0,0,.2);background-color:rgba(255,255,204,.4);border:1px solid #ccc;display:inline-block;margin:.3em;padding:.4em}.searchresults .commentline .yours{background-color:hsla(82,95%,92%,.4)}.commentline .avatar{float:right;padding-left:.5em}.term{background-color:#ffc;color:#900}.shelvingloc{display:block;font-style:italic}#CheckAll,#CheckNone,.CheckAll,.CheckNone{font-weight:400;margin:0 .5em;text-decoration:underline}.sep{color:#888;padding:0 .2em 0 .5em;text-shadow:1px 1px 0 #fff}.pages a:first-child,.pages span:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px;border-width:1px}.pages a:last-child,.pages span:last-child{border-bottom-right-radius:3px;border-top-right-radius:3px;border-width:1px 1px 1px 0}.pages .currentPage,.pages .inactive,.pages a{background-color:#fff;border-color:#ddd;-o-border-image:none;border-image:none;border-style:solid;border-width:1px 1px 1px 0;float:left;font-size:11.9px;line-height:20px;padding:4px 12px;text-decoration:none}.pages{margin:20px 0}.pages .inactive{background-color:#f5f5f5}.pages a[rel=last]{border-bottom-right-radius:3px;border-top-right-radius:3px}.hold-message{border-radius:3px;background-color:#fff0b1;display:inline-block;margin:.5em;padding:.2em .5em}.expiration_date,.reserve_date{white-space:nowrap}.close{color:#08c;-webkit-filter:none;filter:none;float:none;font-weight:400;position:inherit;right:auto;text-shadow:none;top:auto}.close,.close:hover{font-size:inherit;opacity:inherit}.close:hover{color:#538200;-webkit-filter:inherit;filter:inherit}.modal-header .closebtn{margin-top:2px}.closebtn{color:#000;float:right;font-size:20px;font-weight:700;line-height:20px;opacity:.2;text-shadow:0 1px 0 #fff}.closebtn:hover{color:#000;cursor:pointer;opacity:.4;text-decoration:none}button.closebtn{background:transparent;border:0;cursor:pointer;padding:0}.modal form{margin:0}#loginModal{margin-left:-200px;width:400px}#loginModal input{box-sizing:border-box;display:block;font-size:150%;height:auto;padding:.4em;width:100%}#loginModal input[type=submit]{font-size:100%;padding:.5em;transition:background-color .5s ease}#loginModal input[type=submit]:hover{background:#77b50f none}#loginModal .closebtn{color:#c00;opacity:1}#loginModal .closebtn:hover{opacity:.4}#loginModal .modal-body,#loginModal .modal-footer,#loginModal .modal-header{font-size:120%;padding:1em 2em}.forgotpassword,.nologininstructions,.patronregistration{padding-top:1em}.btn-group label,.btn-group select{font-size:13px}.span2 select{width:100%}.item-status{display:block;font-size:95%;margin-bottom:.5em}.available{color:#060}.unavailable{color:#903}.checkedout,.intransit,.lost,.notforloan,.notonhold,.waiting{display:block}.notforloan{color:#900}.lost{color:#666}.suggestion{background-color:#f0f3f3;border:1px solid #f0f3f3;color:#727272;margin:1em auto;padding:.5em;width:35%}.librarypulldown .transl1{width:auto}.nolibrarypulldown{width:68%}.nolibrarypulldown .transl1{width:87%}#opac-main-search select{max-width:12em;width:auto}#logo{background:transparent url(../images/koha-green-logo.png) no-repeat scroll 0;float:left!important;padding:0}#logo,#logo a{border:0;margin:0;width:100px}#logo a{cursor:pointer;display:block;height:0!important;overflow:hidden;padding:40px 0 0;text-decoration:none}#logo a:focus{background-color:transparent}#user-menu-trigger{display:none}#user-menu-trigger i{padding:14px 0 0;width:14px}#user-menu-trigger .caret{border-bottom-color:#999;border-top-color:#999;margin-top:18px}#header-region .icon-white{background-image:url(/opac-tmpl/bootstrap/lib/bootstrap/img/glyphicons-halflings.png)}.floating{box-shadow:0 3px 2px 0 rgba(0,0,0,.4);margin-top:0}.tdlabel{display:none;font-weight:700}#ulactioncontainer{min-width:16em}.notesrow label{font-weight:700}.notesrow span{display:block}.thumbnail-shelfbrowser span{margin:0 auto}.table .sorting_asc{background:url(../images/asc.gif) no-repeat scroll 100% 80% #e2e8e8;padding-right:19px}.table .sorting_desc{background:url(../images/desc.gif) no-repeat scroll 100% 80% #e2e8e8;padding-right:19px}.table .sorting{background:url(../images/ascdesc.gif) no-repeat scroll 100% 75% #e2e8e8;padding-right:19px}.table .nosort,.table .nosort.sorting,.table .nosort.sorting_asc,.table .nosort.sorting_desc{background:#e2e8e8 none;padding-right:19px}.table td,.table th{line-height:135%}.table-bordered,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered thead:first-child tr:first-child>th:last-child{border-radius:0}.shelves ul,.tags ul{display:inline;list-style:none;margin-left:0}.shelves ul li,.tags ul li{display:inline}.coverimages{float:right}#i18nMenu{margin-left:1em}#i18nMenu li{font-size:85%}#i18nMenu li li,#i18nMenu li li>a{font-size:100%}#i18nMenu li li:hover{color:#fff}#i18nMenu li a{color:#0076b2}#i18nMenu .dropdown-menu li p{clear:both;display:block;font-weight:400;line-height:20px;padding:3px 20px;white-space:nowrap}#authorSearch label,#subjectsList label{display:inline;vertical-align:middle}#authorSearch ul,#subjectsList ul{border-bottom:1px solid #eee;list-style-type:none;margin:0;padding:.6em 0}#authorSearch li,#subjectsList li{list-style-type:none;margin:0;padding:0}#openlibrary-results,#overdrive-results,#recordedbooks-results{font-weight:700;padding-left:1em}.throbber{vertical-align:middle}#overdrive-results-list .star-rating-control{display:block;overflow:auto}#shelfbrowser table{margin:0}#shelfbrowser table,#shelfbrowser td,#shelfbrowser th{border:0;font-size:90%;text-align:center}#shelfbrowser td,#shelfbrowser th{padding:3px 5px;width:20%}#shelfbrowser a{display:block;font-size:110%;font-weight:700;text-decoration:none}#shelfbrowser #browser_next,#shelfbrowser #browser_previous{background-image:url(../images/sprite.png);background-repeat:no-repeat;width:16px}#shelfbrowser #browser_next a,#shelfbrowser #browser_previous a{cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:50px 0 0;text-decoration:none;width:16px}#shelfbrowser #browser_previous{background-position:-9px -1007px}#shelfbrowser #browser_next{background-position:-9px -1057px}#holds{margin:0 auto;max-width:800px}.holdrow{border-bottom:1px solid #ccc;clear:both;margin-bottom:.5em;padding:0 1em 1em}.holdrow fieldset{border:0;float:none;margin:0}.holdrow fieldset .label{font-size:14px}.holdrow label{display:inline}.hold-options{clear:both}.toggle-hold-options{background-color:#eee;clear:both;display:block;font-weight:700;margin:1em 0;padding:.5em}.copiesrow{clear:both}#idreambooksreadometer{float:right}.idreambookslegend{font-size:small}.idreambookssummary a{color:#707070;text-decoration:none}.idreambookssummary img{vertical-align:middle}.idbresult{color:#29ade4;margin:.5em;padding:.5em;text-align:center}.idbresult img{padding-right:6px;vertical-align:middle}.idbresult a,.idbresult a:visited{text-decoration:none;color:#29ade4}.js-show,.modal-nojs .modal-footer,.modal-nojs .modal-header{display:none}.contents{width:75%}.contents .t:first-child:before{content:"→ "}.contents .t:before{content:"\A → ";white-space:pre}.contents .t{font-weight:700}.contents .r,.contents .t{display:inline}.contentblock{font-size:95%;line-height:135%;margin-left:2em;position:relative}.m880{display:block;float:right;padding-left:20px;text-align:right;width:50%}#memberentry-form input.error,#memberentry-form input.error:focus{border-color:#c00;box-shadow:inset 0 1px 1px #c00,0 0 8px #c00;color:red;outline:0 none}#memberentry-form input.error label.error{color:#c00;float:none;font-size:90%}#illrequests .illrequest-actions{margin-bottom:20px;padding-top:20px}#illrequests .illrequest-actions .btn,#illrequests .illrequest-actions .cancel{margin-right:5px}#illrequests #illrequests-create-button{margin-bottom:20px}#illrequests .bg-info{overflow:auto;position:relative}#illrequests .bg-info #search-summary{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}#illrequests #freeform-fields .custom-name{float:left;margin-right:1em;text-align:right;width:8em}#illrequests .dropdown:hover .dropdown-menu.nojs{display:block}#dc_fieldset{border:1px solid #ddd;border-radius:10px;border-width:1px;padding:5px}.label_dc{cursor:pointer;display:inline;margin:0;padding:0}.btn-danger{color:#fff!important}.count_label{background-color:#369;border-radius:5px;color:#fff;display:inline-block;font-weight:700;min-width:1.5em;padding:.2em;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.count_label:hover{background-color:#69c}.user_fines_count,.user_overdues_count{background-color:#900}.user_fines_count:hover,.user_overdues_count:hover{background-color:#c00}.user_holds_waiting_count{background-color:#538200}.user_holds_waiting_count:hover{background-color:#74b500}#user_summary{border:1px solid #eaeae6;margin-bottom:1em;padding-bottom:.5em}#user_summary h3{background-color:#e2e8e8;color:#727272;margin-top:0;padding:.2em 0;text-align:center}#user_summary ul{list-style-type:none;margin:0 0 .2em}#user_summary ul a{display:block;font-weight:700;padding:.2em 1em}.adlibris-cover{max-height:120px}.adlibris-cover-big{max-height:200px}@media only screen and (min-width:0) and (max-width:304px){input,select,textarea{max-width:11em;width:auto}}@media only screen and (min-width:0) and (max-width:440px){.statictabs li a,.ui-tabs .ui-tabs-nav li a{padding:.1em .5em}.input-fluid{width:90%}#wrap{padding:0}}@media only screen and (min-width:342px) and (max-width:479px){.input-fluid{width:75%}.searchsuggestion{display:block}}@media (max-width:979px){.navbar-fixed-bottom,.navbar-fixed-top{margin-left:0;margin-right:0;position:fixed}}@media only screen and (max-width:608px){fieldset.rows label{display:block;float:none;text-align:left}fieldset.rows li{padding-bottom:.5em}fieldset.rows .hint,fieldset.rows ol{margin-left:0}body{padding:0}.tdlabel{display:inline}.navbar-fixed-top,.navbar-static-top{margin:0}.navbar-inner{padding:0}#remove-selected,#selections-toolbar,.checkall,.clearall,.highlight_controls,.list-actions,.selectcol{display:none}.table td.bibliocol{padding-left:1.3em}.actions{display:block}.actions #login4tags,.actions a{border-radius:4px;background-color:#f2f2ef;border:1px solid #ddd;display:block;font-size:120%;font-weight:700;margin:2px 0}.actions .label{display:block;font-weight:700}.actions #login4tags{margin-right:1em}#opac-main-search .input-append,#opac-main-search .librarypulldown .transl1,#opac-main-search button,#opac-main-search input,#opac-main-search select{border-radius:5px;box-sizing:border-box;display:block;height:120%;margin:.5em 0;max-width:100%;width:97%}#opac-main-search .input-append{margin:0;width:100%}#opac-main-search .librarypulldown .transl1{width:94.5%}#toolbar .resort{border-radius:5px;font-size:14px;margin:.5em 0;max-width:100%;padding:4px 6px}.mastheadsearch{border-radius:0;margin:0}.main{border-radius:0;margin:.5em 0;padding:15px}.breadcrumb{margin:10px 0}#moresearches{text-align:center}#searchsubmit{font-weight:700}#topissues .item-thumbnail,#usersuggestions .item-thumbnail,#usertags .item-thumbnail,.tabs-container .item-thumbnail,.ui-tabs-panel .item-thumbnail{margin:.5em 0 0 .5em}#topissues .table-bordered,#usersuggestions .table-bordered,#usertags .table-bordered,.tabs-container .table-bordered,.ui-tabs-panel .table-bordered{border:0}#topissues .table th,#topissues .table thead,#usersuggestions .table th,#usersuggestions .table thead,#usertags .table th,#usertags .table thead,.tabs-container .table th,.tabs-container .table thead,.ui-tabs-panel .table th,.ui-tabs-panel .table thead{display:none}#topissues .table td,#usersuggestions .table td,#usertags .table td,.tabs-container .table td,.ui-tabs-panel .table td{border-left:1px solid #ddd;border-right:1px solid #ddd;border-top:0;display:block;padding:.2em}#topissues .table p,#usersuggestions .table p,#usertags .table p,.tabs-container .table p,.ui-tabs-panel .table p{margin-bottom:2px}#topissues tr,#usersuggestions tr,#usertags tr,.tabs-container tr,.ui-tabs-panel tr{display:block;margin-bottom:.6em}#topissues tr td:first-child,#usersuggestions tr td:first-child,#usertags tr td:first-child,.tabs-container tr td:first-child,.ui-tabs-panel tr td:first-child{border-radius:5px 5px 0 0;border-top:1px solid #ddd}#topissues tr td:last-child,#usersuggestions tr td:last-child,#usertags tr td:last-child,.tabs-container tr td:last-child,.ui-tabs-panel tr td:last-child{border-bottom:2px solid #cacaca;border-radius:0 0 5px 5px}.no-image{display:none}}@media only screen and (max-width:700px){#opac-main-search label{display:none}#logo{background:transparent url(../lib/bootstrap/img/glyphicons-halflings.png) no-repeat;background-position:0 -24px;margin:14px 14px 0;width:14px}#logo a{padding:14px 0 0;width:14px}#user-menu-trigger{display:inline;margin-right:12px}#members{clear:both;display:none}#members li{border-bottom:1px solid #555;padding-right:20px;text-align:right}#members li:first-child{border-top:1px solid #555}#members li:last-child{border-bottom:0}#members .nav,#members .nav.pull-right,#members .nav>li{float:none}#members .divider-vertical{border:0;height:0;margin:0}}@media only screen and (min-width:480px) and (max-width:608px){.input-fluid{width:75%}}@media only screen and (min-width:608px){#views{border-bottom:1px solid #d6d6d6;margin:0;padding:0;white-space:nowrap}.view{border-bottom-width:0;border-radius:0;border-right-width:0;border-top-width:0}.current-view{border:0;box-shadow:none}}@media only screen and (min-width:608px) and (max-width:767px){.main{padding:.8em 20px}.breadcrumb{margin:10px 0}.navbar-static-bottom{margin-left:-20px;margin-right:-20px}.row-fluid input.span6{width:48.9362%}}@media only screen and (max-width:767px){a.title{font-size:120%}#userresults{margin:0 -20px}#top-pages,.breadcrumb,.menu-collapse{display:none}#menu,#search-facets{margin-bottom:.5em}#menu h4,#search-facets h4{display:block;margin:0;padding:0}#menu h4 a,#search-facets h4 a{border-radius:7px;border-bottom:0;font-weight:400;padding:.7em .2em}#menu ul,#search-facets ul{padding:0}#menu li a{border-radius:0;border:0;border-bottom:1px solid #d8d8d8;display:block;font-size:120%;margin:0;text-decoration:none}#menu li.active a{border-right-width:1px;border-top:1px solid #d8d8d8}#menu li:last-child a{border-radius:0 0 7px 7px}#search-facets li{padding:.4em}#search-facets h5{margin:.2em}#menu h4 a.menu-open,#search-facets h4 a.menu-open{border-bottom:1px solid #d8d8d8;border-radius:7px 7px 0 0}#loginModal{margin:0;width:auto}}@media only screen and (max-width:800px){.cartlabel,.listslabel{display:none}.navbar .divider-vertical{margin:0 2px}.navbar #members .divider-vertical{margin:0 9px}}@media only screen and (min-width:768px){.main{margin-left:20px;margin-right:20px}#menu{border-radius:0;border:0;border-right:1px solid #d8d8d8}#menu h4{display:none}#menu ul{padding:1em 0}#didyoumean{margin:0}.searchsuggestion{white-space:nowrap}}@media only screen and (min-width:768px) and (max-width:984px){.librarypulldown .transl1{width:38%}}@media only screen and (min-width:984px){.librarypulldown .transl1{width:53%}}@media only screen and (max-width:1040px){#a_listResults,#close_pagination{padding:5px}.pg_menu li a{display:block;float:none;text-align:left}.pg_menu li.back_results a{border:0;border-bottom:1px solid #ddd;border-top:1px solid #ddd}#ulactioncontainer{min-width:0}} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:NotoSans;font-style:normal;font-weight:400;src:local("Noto Sans Regular"),url(fonts/NotoSans-Regular-webfont.woff2) format("woff2"),url(fonts/NotoSans-Regular-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:bold;font-weight:700;src:local("Noto Sans Bold"),url(fonts/NotoSans-Bold-webfont.woff2) format("woff2"),url(fonts/NotoSans-Bold-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:italic;font-weight:400;src:local("Noto Sans Italic"),url(fonts/NotoSans-Italic-webfont.woff2) format("woff2"),url(fonts/NotoSans-Italic-webfont.woff) format("woff")}@font-face{font-family:NotoSans;font-style:italic;font-weight:700;src:local("Noto Sans Bold Italic"),url(fonts/NotoSans-BoldItalic-webfont.woff2) format("woff2"),url(fonts/NotoSans-BoldItalic-webfont.woff) format("woff")}body{background:#fcf9fc none;font-family:sans-serif;font-size:16px}.fonts-loaded body{font-family:NotoSans}body,html{height:100%}.no-js .dateformat{display:inline;white-space:nowrap}.no-js .modal-body{padding:0}.js .dateformat,.no-js .selections-toolbar{display:none}#wrap{height:auto!important;height:100%;min-height:100%;padding-right:40px;padding-left:40px}.fa.fa-icon-black,.fa.fa-icon-white{color:#000}#changelanguage .nav>.active>p{padding:0 15px}.popup{padding-left:0;padding-right:0}.popup .main{font-size:90%;padding:0 1em}.popup legend{line-height:1.5em;margin-bottom:.5em}a{color:#0076b2}a.cancel{padding-left:1em}a:visited{color:#0076b2}a.title{font-size:108%;font-weight:700}a.btn:visited{color:#333}a.btn-primary:visited{color:#fff}a.login-link{color:#005580;font-weight:700}a.login-link.loginModal-trigger{color:#85ca11}a.listmenulink:link,a.listmenulink:visited{color:#0076b2;font-weight:700}a.listmenulink:active,a.listmenulink:hover{color:#fff;font-weight:700}a .idreambooksrating{color:#29ade4;font-size:30px;line-height:30px;padding-left:85px;text-decoration:none}a.reviewlink,a.reviewlink:visited{color:#000;font-weight:400;text-decoration:none}a.addtocart{background-position:-5px -262px;padding-left:35px}a.addtoshelf{background-position:-5px -222px;padding-left:35px}a.brief{background-position:-2px -868px}a.brief,a.detail{padding-left:27px}a.detail{background-position:-2px -898px}a.download{background-position:-5px -348px;padding-left:20px}a.editshelf{background-position:2px -348px;padding-left:26px}a.empty{background-position:2px -598px;padding-left:30px}a.hide{background-position:-3px -814px;padding-left:26px}a.highlight_toggle{background-position:-5px -836px;display:none;padding-left:35px}a.hold{background-position:-2px -453px;padding-left:23px}a.hold.disabled{background-position:-5px -621px}a.incart{background-position:-5px -265px;color:#666;padding-left:35px}a.new{background-position:-4px -922px;padding-left:23px}a.print-small{background-position:0 -423px;padding-left:30px}a.print-large{background-position:0 -187px;padding-left:35px}a.removeitems{background-position:2px -690px;padding-left:25px}a.removeitems.disabled{background-position:2px -712px}a.reserve{background-position:-6px -141px;padding-left:35px}a.article_request{background-position:0 -24px;padding-left:35px}a.send{background-position:2px -386px;padding-left:28px}a.sharelist{background-position:2px -1148px;padding-left:26px}a.tag_add{background-position:3px -1111px;padding-left:27px}h1{font-size:140%;line-height:150%;color:#727272}h1#libraryname{background:transparent url(../images/logo-koha.png) no-repeat scroll 0;border:0;float:left!important;margin:0;padding:0;width:120px}h1#libraryname a{border:0;cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:40px 0 0;text-decoration:none;width:120px}h2{font-size:130%}h2,h3{color:#727272;line-height:150%}h3{font-size:120%}h4{font-size:110%}h5{font-size:100%}caption,h5{color:#727272}caption{font-size:120%;font-weight:700;margin:0;text-align:left}input,textarea{width:auto}.input-fluid{width:50%}legend{font-size:110%;font-weight:700;color:#727272}table{font-size:90%}table,td{background-color:#fff}td img{max-width:none}td.overdue{color:#c33}td .sum{background-color:#ffffe5;font-weight:700}td .btn{white-space:nowrap}td .btn-link{padding:0}th{background-color:#e2e8e8}th.sum,th[scope=row]{text-align:right}th[scope=row]{background-color:transparent}#advsearches label,#basketcount,#booleansearch label{display:inline}#basketcount{margin:0;padding:0}#basketcount span{border-radius:3px;background-color:#85ca11;color:#fff;display:inline;font-family:NotoSans;font-size:80%;font-weight:400;margin:0 0 0 .9em;padding:0 .3em}#members{display:block}#members p{color:#727272}#members a.logout{color:#e8583c;font-weight:700;padding:0 .3em}#koha_url p{color:#666;float:right;margin:0}#moresearches{margin:.5em 0;padding:0 .8em}#moresearches li{display:inline;white-space:nowrap}#moresearches li:after{content:" | "}#moresearches li:last-child:after{content:""}#moresearches ul{margin:0}#news{margin:.5em 0}.newscontainer{border:1px solid #ddd;border-bottom-width:0}.newsheader{background-color:#f0f3f3;border-bottom:1px solid #ddd;color:#727272;margin:0;padding:8px}.newsbody{padding:8px}.newsfooter{border-bottom:1px solid #ddd;font-style:italic;padding:4px 8px}#opacheader{background-color:#fcf9fc}#numresults,#selections{color:#727272}#selections{font-weight:700}#selections-toolbar{background:#e2e8e8 none;border-bottom:none;margin-top:3px}.selections{font-weight:700}.selections-toolbar.toolbar{background:#e2e8e8 none}.actions a{background-repeat:no-repeat;margin-right:1em;text-decoration:none;white-space:nowrap}.actions a.hold{background-position:-5px -539px}.actions a.article_request,.actions a.hold{background-image:url(../images/sprite.png);padding-left:21px}.actions a.article_request{background-position:-2px -26px}.actions a.addtocart{background-position:-5px -570px}.actions a.addtocart,.actions a.addtoshelf{background-image:url(../images/sprite.png);padding-left:20px}.actions a.addtoshelf{background-position:-5px -24px}.actions a.addtolist{background-position:-5px -27px;padding-left:20px}.actions a.tag_add{background-position:-5px -1110px;padding-left:20px}.actions a.removefromlist{background-position:-8px -690px;padding-left:15px}.alert{background:linear-gradient(180deg,#fffbe5 0,#fff0b2 9%,#fff1a8 89%,#f7e665);border-color:#d6c43b;color:#333}.alert .closebtn{line-height:20px;position:relative;right:-21px;top:-2px}.alert-info{background:linear-gradient(180deg,#f4f6fa 0,#eaeef5 4%,#e8edf6 96%,#cddbf2);border-color:#c5d1e5;color:#333}.alert-success{background:linear-gradient(180deg,#f8ffe8 0,#e3f5ab 4%,#dcf48d 98%,#9ebf28);border-color:#9fba35;color:#333}.breadcrumb{background-color:#f0f3f3;font-size:85%;list-style:none outside none;margin:10px 20px;padding:5px 10px;border-radius:0}.buttons-print{background-color:transparent;background-position:0 -184px;border:0;color:#0076b2;font-size:100%;padding-left:35px}.form-inline{display:inline;margin:0;padding:0}.form-inline fieldset{margin:.3em 0;padding:.3em}.main{background-color:#fff;border:1px solid #f0f3f3;margin-bottom:.5em;margin-top:.5em}.mastheadsearch{background:#f0f3f3;margin:.5em 0;padding:.8em}.mastheadsearch label{color:#727272;font-size:115%;font-weight:700}.btn-primary{font-family:NotoSans}.btn-primary,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.btn-primary:visited{background-color:#85ca11;background-image:linear-gradient(180deg,#85ca11,#77b50f);background-position:0}input[type=password]:focus,input[type=text]:focus{border-color:#85ca11;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px hsla(82,63%,71%,.6)}.navbar .divider-vertical{border-left-color:#fcf9fc;border-right-color:#fcf9fc}.navbar .nav li.dropdown>a:focus .caret,.navbar .nav li.dropdown>a:hover .caret{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inverse .brand{color:#9fe1ff;font-weight:700}.navbar-inverse .navbar-inner{background:#fcf9fc none;border-color:#fcf9fc;box-shadow:none}.navbar-inverse .nav>li>a{color:#727272;font-weight:700;text-shadow:none}.navbar-inverse .nav>li>a:focus,.navbar-inverse .nav>li>a:hover{color:#85ca11}.navbar-inverse .nav li.dropdown>a:focus .caret,.navbar-inverse .nav li.dropdown>a:hover .caret{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle{background-color:transparent;color:#85ca11}.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret,.navbar-inverse .nav li.dropdown.open>.dropdown-toggle .caret:hover{border-top-color:#85ca11;border-bottom-color:#85ca11}.navbar-inner{background:#fcf9fc none}.navbar-fixed-bottom.navbar-static-bottom{margin-top:.5em;position:static}.navbar-fixed-bottom .navbar-inner{box-shadow:none}[class*=" icon-"],[class^=icon-]{vertical-align:0}.table-striped tbody>tr:nth-child(odd)>td,.table-striped tbody>tr:nth-child(odd)>th{background-color:#f0f3f3}#availability_facet,#facet-holdings-library{color:#727272}#toolbar.toolbar{border:1px solid #f0f3f3}#toolbar.toolbar,#toolbar.toolbar.clearfix{background-color:#f0f3f3}.ui-tabs-nav .ui-tabs-active a,.ui-tabs-nav a:active,.ui-tabs-nav a:focus,.ui-tabs-nav a:hover,.ui-tabs-nav span.a{background:none repeat scroll 0 0 transparent;outline:0 none}.ui-widget,.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:NotoSans;font-size:inherit}ul.ui-tabs-nav li{list-style:none}.ui-tabs .ui-tabs-nav li{background:#f0f3f3 none;border-color:#d8d8d8;margin-right:.4em}.ui-tabs .ui-tabs-nav li.ui-tabs-active{background-color:#fff;border:1px solid #d8d8d8;border-bottom:0}.ui-tabs .ui-tabs-nav li.ui-tabs-active a{color:#727272;font-weight:700}.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover,.ui-tabs .ui-tabs-nav li.ui-tabs-active.ui-state-hover.ui-state-active{background:#fff none}.ui-tabs .ui-tabs-nav li.ui-state-default.ui-state-hover{background:#f3f3f3 none}.ui-tabs .ui-tabs-panel{border:1px solid #d8d8d8;margin-bottom:1em}.ui-tabs.ui-widget-content{background:transparent none;border:0}.ui-tabs .ui-state-default a,.ui-tabs .ui-state-default a:link,.ui-tabs .ui-state-default a:visited{color:#069}.ui-tabs .ui-state-hover a,.ui-tabs .ui-state-hover a:link,.ui-tabs .ui-state-hover a:visited{color:#903}.ui-tabs-nav.ui-widget-header{background:none;border:0}.ui-corner-top{border-radius:0}.statictabs ul{background:none repeat scroll 0 0 transparent;border:0 none;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;color:#222;font-size:100%;font-weight:700;line-height:1.3;list-style:none outside none;margin:0;outline:0 none;padding:.2em .2em 0;text-decoration:none}.statictabs ul:after,.statictabs ul:before{content:"";display:table}.statictabs ul:after{clear:both}.statictabs li{background:none repeat scroll 0 0 #e6f0f2;border:1px solid #b9d8d9;border-bottom:0 none!important;border-top-left-radius:4px;border-top-right-radius:4px;color:#555;float:left;font-weight:400;list-style:none outside none;margin-bottom:0;margin-right:.4em;padding:0;position:relative;top:1px;white-space:nowrap}.statictabs li.active{background-color:#fff;color:#212121;font-weight:400;padding-bottom:1px}.statictabs li.active a{background:none repeat scroll 0 0 transparent;color:#000;cursor:text;font-weight:700;outline:0 none}.statictabs li a{color:#004d99;cursor:pointer;float:left;padding:.5em 1em;text-decoration:none}.statictabs li a:hover{background-color:#edf4f5;border-top-left-radius:4px;border-top-right-radius:4px;color:#538200}.statictabs .tabs-container{background:none repeat scroll 0 0 transparent;border:1px solid #b9d8d9;border-bottom-left-radius:4px;border-bottom-right-radius:4px;color:#222;display:block;padding:1em 1.4em}.ui-datepicker{box-shadow:0 1px 1px 0 rgba(0,0,0,.2)}.ui-datepicker table{border:0;border-collapse:collapse;font-size:.9em;margin:0 0 .4em;width:100%}.ui-datepicker th{background:transparent none;border:0;font-weight:700;padding:.7em .3em;text-align:center}.ui-datepicker-trigger{margin:0 3px;vertical-align:middle}.ui-widget-content{background:#fff none;border:1px solid #aaa;color:#222}.ui-widget-content a,.ui-widget-content a:visited{color:#0076b2}.ui-widget-header{background:#e6f0f2 none;border:1px solid #aaa;color:#222;font-weight:700}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{background:#f4f8f9 none;border:1px solid #aaa;color:#555;font-weight:400}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{background:#e6f0f2 none;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{background:#fff none;border:1px solid #aaa;color:#212121;font-weight:400}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{background:#fbf9ee;border:1px solid #fcefa1;color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{background:#fef1ec;border:1px solid #cd0a0a;color:#cd0a0a}.item-thumbnail{max-width:none}.no-image{border-radius:3px;background-color:#fff;border:1px solid #aaa;color:#979797;display:block;font-size:86%;font-weight:700;text-align:center;width:75px}#bookcover{float:left;margin:0;padding:0}#bookcover .no-image{margin-bottom:10px;margin-right:10px}#bookcover img{margin:0 1em 1em 0}.required{color:#c00}.label{background-color:transparent;color:inherit;display:inline;font-weight:400;padding:0;text-shadow:none}.blabel{background-color:#999;border-radius:3px;color:#fff;display:inline-block;font-weight:700;padding:2px 4px;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.label-important{background-color:#b94a48}.label-warning{background-color:#f89406}.label-success{background-color:#468847}.label-info{background-color:#3a87ad}.label-inverse{background-color:#333}fieldset.rows{clear:left;float:left;font-size:90%;margin:.9em 0 0;padding:0;width:100%}fieldset.rows legend{font-size:130%;font-weight:700}fieldset.rows .label,fieldset.rows label{float:left;font-weight:700;margin-right:1em;text-align:right;width:9em}fieldset.rows label.lradio{float:none;margin:inherit;width:auto}fieldset.rows fieldset{margin:0;padding:.3em}fieldset.rows ol{list-style-type:none;padding:1em 1em 0}fieldset.rows ol.lradio label{float:none;margin-right:0;width:auto}fieldset.rows ol.lradio label.lradio{float:left;margin-right:1em;width:12em}fieldset.rows li{clear:left;float:left;list-style-type:none;padding-bottom:1em;width:100%}fieldset.rows li.lradio{padding-left:8.5em;width:auto}fieldset.rows li.lradio label{float:none;margin:0 0 0 1em;width:auto}fieldset.rows .hint{display:block;margin-left:11em}fieldset.action{border:0;clear:both;float:none;margin:0;padding:1em 0 .3em;width:auto}fieldset.action p{margin-bottom:1em}fieldset table{font-size:100%}div.rows{float:left;clear:left;margin:0;padding:0;width:100%}div.rows+div.rows{margin-top:.6em}div.rows span.label{float:left;font-weight:700;margin-right:1em;text-align:left;width:9em}div.rows ol{list-style-type:none;margin-left:0;padding:.5em 1em 0 0}div.rows ol li li{border-bottom:0}div.rows li{border-bottom:1px solid #eee;clear:left;float:left;list-style-type:none;padding-bottom:.2em;padding-top:.1em;width:100%}div.rows ul li{margin-left:7.3em}div.rows ul li:first-child{clear:none;float:none;margin-left:0}.tagweight0{font-size:12px}.tagweight1{font-size:14px}.tagweight2{font-size:16px}.tagweight3{font-size:18px}.tagweight4{font-size:20px}.tagweight5{font-size:22px}.tagweight6{font-size:24px}.tagweight7{font-size:26px}.tagweight8{font-size:28px}.tagweight9{font-size:30px}.toolbar{background-color:#eee;border:1px solid #e8e8e8;font-size:85%;padding:3px 3px 5px 5px;vertical-align:middle}.toolbar a{white-space:nowrap}.toolbar label{display:inline;font-size:100%;font-weight:700;margin-left:.5em}.toolbar select{font-size:97%;height:auto;line-height:inherit;margin:0;padding:0;white-space:nowrap;width:auto}.toolbar #tagsel_tag,.toolbar .hold{font-size:97%;font-weight:700;padding-left:28px}.toolbar #tagsel_form{margin-top:.5em}.toolbar li{display:inline;list-style:none}.toolbar li a{border-left:1px solid #e8e8e8}.toolbar li:first-child a{border-left:0}.toolbar ul{padding-left:0}#basket .toolbar{padding:7px 5px 9px 9px}#selections-toolbar,.selections-toolbar{background:linear-gradient(top,#b2b2b2,#e0e0e0 14%,#e8e8e8);margin:0 0 1em;padding-left:10px;padding-top:.5em}.list-actions{display:inline}#tagsel_span input.submit,#tagsel_tag{background-color:transparent;background-image:url(../images/sprite.png);background-position:1px -643px;background-repeat:no-repeat;border:0;color:#0076b2;cursor:pointer;font-size:100%;padding-left:25px;text-decoration:none}#selections-toolbar input.hold:hover,#tagsel_span input:hover{color:#005580;text-decoration:underline}#selections-toolbar a.disabled,#selections-toolbar a.disabled:hover,#selections-toolbar input.hold.disabled,#selections-toolbar input.hold.disabled:hover,#tagsel_span input.disabled,#tagsel_span input.disabled:hover,#tagsel_span input.hold.disabled,#tagsel_span input.hold.disabled:hover,.selections-toolbar a.disabled,.selections-toolbar a.disabled:hover{color:#888;padding-left:23px;text-decoration:none}#tagsel_tag.disabled{background-position:-1px -667px}.results_summary{color:#707070;display:block;font-size:85%;padding:0 0 .5em}.results_summary .results_summary{font-size:100%}.results_summary.actions{margin-top:.5em}.results_summary.tagstatus{display:inline}.results_summary .label{color:#202020}.results_summary a{font-weight:400}#views{margin-bottom:.5em;padding:0 2em .2em .2em}.view{background-color:#f0f3f3;border:1px solid #c9c9c9;border-radius:4px;color:#727272;display:inline-block;padding:.2em .5em;white-space:nowrap}.view a,.view span{background-image:url(../images/sprite.png);background-repeat:no-repeat;font-size:87%;font-weight:400;padding-left:15px;text-decoration:none}#bibliodescriptions,#isbdcontents{clear:left;margin-top:.5em}.current-view{background-color:#fff;font-weight:700}#MARCview{background-position:-9px -28px}#ISBDview{background-position:-10px -56px}#Normalview{background-position:-8px 1px}#Briefhistory,#Fullhistory{background:transparent none;padding-left:0}.results-pagination{background-color:#f3f3f3;display:none;padding-bottom:10px}.close_pagination{display:none}.back{float:right}.back input{background:none!important;color:#999!important}.pagination_list ul{margin:0;padding:0}.pagination_list li{border-top:1px solid #ddd;color:#999;float:bottom;list-style:none;padding:4px}.pagination_list li.highlight{background-color:#ddd}.pagination_list li a{padding-left:0}.pagination_list .li_pag_index{color:#636363;font-size:90%;font-weight:700;padding-right:10px;text-align:right;width:13px}.pagination_footer{background-color:#e1e1e1;text-align:center}.pagination_footer .close_pagination{display:none}.l_Results{background-color:#e1e1e1}.l_Results .close_pagination{float:right;padding:8px 12px}.nav_results{border:1px solid #d0d0d0;font-size:95%;font-weight:700;margin-top:.5em;position:relative}#a_listResults{color:#069;display:inline-block;padding:8px 28px;text-decoration:none}.pg_menu{background-color:#f3f3f3;border-top:1px solid #d0d0d0;margin:0;white-space:nowrap}.pg_menu li{color:#b2b2b2;display:inline-block;float:left;list-style:none;margin:0}.pg_menu li.back_results a{border-left:1px solid #d0d0d0;border-right:1px solid #d0d0d0}.pg_menu li a,.pg_menu li span{background-color:#f3f3f3;display:block;float:left;font-weight:400;padding:.4em .5em;text-align:center;text-decoration:none}.pg_menu li span{color:#b2b2b2}#listResults li{color:#c5c5c5;display:inline-block;font-size:80%;font-weight:400;padding:0;text-align:center}#listResults li a{background-color:#999;color:#fff;display:block;font-weight:400;min-width:18px;text-decoration:none}#listResults li a:hover{background-color:#069}#listResults li .highlight a{background-color:#616161}.nav_pages{border-top:1px solid #ddd;padding:.6em}.nav_pages ul{display:inline-block;margin:0;padding:0}.nav_pages li{color:#999;list-style:none;padding:4px}.nav_pages li a:hover{text-decoration:underline}#action{background-color:#f0f3f3;border:1px solid #e8e8e8;margin:.5em 0 0;padding-bottom:3px}#action li{list-style:none;margin:.2em;padding:.3em 0}#action a{font-weight:700;text-decoration:none}#export li,#moresearches_menu li{margin:0;padding:0}#export li a,#moresearches_menu li a{font-weight:400}#export li a.menu-inactive,#moresearches_menu li a.menu-inactive{font-weight:700}#format,#furthersearches{padding-left:35px}.highlight_controls{float:left}.buttons-print,.deleteshelf,.newshelf,.newshelf.disabled,a.addtocart,a.addtoshelf,a.article_request,a.brief,a.detail,a.download,a.editshelf,a.empty,a.hide,a.highlight_toggle,a.hold,a.hold.disabled,a.incart,a.new,a.print-large,a.print-small,a.removefromlist,a.removeitems,a.removeitems.disabled,a.reserve,a.send,a.sharelist,a.tag_add,input.editshelf,input.hold,input.hold.disabled{background-image:url(../images/sprite.png);background-repeat:no-repeat;text-decoration:none}input.hold{background-color:transparent;background-position:-2px -453px;border:0;color:#0076b2;font-weight:700;padding-left:23px;text-decoration:none}input.hold.disabled{background-position:-5px -621px}input.editshelf{background-color:transparent;background-position:2px -734px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:29px;text-decoration:none}input.editshelf:active{border:0}.newshelf{background-position:2px -761px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:28px}.newshelf.disabled{background-position:-4px -791px}.deleteshelf{background-color:transparent;background-position:2px -687px;border:0;color:#069;cursor:pointer;-webkit-filter:none;filter:none;font-size:100%;padding-left:25px;text-decoration:none}.deleteshelf:active{border:0}.deleteshelf:hover{color:#903}.deleteshelf.disabled{background-position:0 -712px}.links a{font-weight:700}#tagslist li{display:inline}#login4tags{background-image:url(../images/sprite.png);background-position:-6px -1130px;background-repeat:no-repeat;padding-left:20px;text-decoration:none}.tag_results_input{font-size:12px;margin-left:1em;padding:.3em}.tag_results_input input[type=text]{font-size:inherit;margin:0;padding:0}.tag_results_input label{display:inline}.tagsinput input[type=text]{font-size:inherit;margin:0;padding:0}.tagsinput label{display:inline}.branch-info-tooltip{display:none}.ui-tooltip-content p{margin:.3em 0}#social_networks a{background:transparent url(../images/social-sprite.png) no-repeat;display:block;height:20px!important;text-indent:-999em;width:20px}#social_networks span{color:#274d7f;display:block;float:left;font-size:85%;font-weight:700;line-height:2em;margin:.5em 0 .5em .5em!important}#social_networks div{float:left!important;margin:.5em 0 .5em .2em!important}#social_networks #facebook{background-position:-7px -35px}#social_networks #twitter{background-position:-7px -5px}#social_networks #linkedin{background-position:-7px -95px}#social_networks #delicious{background-position:-7px -66px}#social_networks #email{background-position:-7px -126px}#marc td,#marc th{background-color:transparent;border:0;padding:3px 5px;text-align:left}#marc td:first-child{text-indent:2em}#marc p{padding-bottom:.6em}#marc p .label{font-weight:700}#marc ul{padding-bottom:.6em}#marc .results_summary{clear:left}#marc .results_summary ul{clear:none;display:inline;float:none;list-style:none;margin:0;padding:0}#marc .results_summary li{display:inline}#items,#items td,#items th{border:1px solid #eee;font-size:90%}#plainmarc table{border:0;font-family:monospace;font-size:95%;margin:.7em 0 0}#plainmarc th{background-color:#fff;text-align:left;white-space:nowrap}#plainmarc td,#plainmarc th{border:0;padding:2px;vertical-align:top}#renewcontrols{float:right;font-size:66%}#renewcontrols a{background-repeat:no-repeat;padding:.1em .4em;padding-left:18px;text-decoration:none}#renewselected_link{background-position:-5px -986px}#renewall_link,#renewselected_link{background-image:url(../images/sprite.png);background-repeat:no-repeat}#renewall_link{background-position:-8px -967px}.authref{text-indent:2em}.authref .label{font-style:italic}.authstanza{margin-top:1em}.authstanza li{margin-left:.5em}.authorizedheading,.authstanzaheading{font-weight:700}.authres_notes,.authres_otherscript,.authres_seealso{padding-top:.5em}.authres_notes{font-style:italic}#didyoumean{border-radius:3px;background-color:#eee;border:1px solid #e8e8e8;box-sizing:border-box;margin:.5em 1.5em;padding:.5em;text-align:left}#didyoumean.dym-loaded{background-color:#fffbea;border-color:#f4ecbe}.suggestionlabel{font-weight:700}.searchsuggestion{display:inline-block;padding:.2em .5em}.authlink{padding-left:.25em}#hierarchies a{color:#069;font-weight:400;text-decoration:underline}#hierarchies a:hover{color:#903}#top-pages{margin:0 0 .5em}.dropdown-menu{border-radius:0}.dropdown-menu>li>a{font-size:90%}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background:#85ca11 none}#cartDetails,#cartUpdate,#holdDetails,#listsDetails{background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);color:#000;display:none;font-size:90%;margin:0;padding:8px 20px;text-align:center;width:180px;z-index:1}#cartmenulink{white-space:nowrap}#menu,#search-facets{border:1px solid #d2d2cf}#menu ul,#search-facets ul{margin:0;padding:.3em}#menu form,#search-facets form{margin:0}#menu h4,#search-facets h4{font-size:90%;margin:0 0 .6em;text-align:center}#menu h4 a,#search-facets h4 a{background-color:#f0f3f3;border-bottom:1px solid #d8d8d8;display:block;font-weight:700;padding:.7em .2em;text-decoration:none}#menu li,#search-facets li{font-size:90%;font-weight:700;list-style-type:none}#menu li li,#search-facets li li{font-size:95%;font-weight:400;line-height:125%;margin-bottom:2px;padding:.1em .2em}#menu li.showmore a,#search-facets li.showmore a{font-weight:700;text-indent:1em}#menu a,#search-facets a{font-weight:400;text-decoration:underline}#menu .facet-count,#search-facets .facet-count{display:inline-block}#menu{font-size:94%}#menu li{list-style-type:none}#menu li a{background-color:#f0f3f3;border:1px solid #d8d8d8;border-bottom-color:#999;display:block;font-size:111%;margin:.4em 0;margin-right:-1px;padding:.4em .6em;text-decoration:none}#menu li a:hover{background:#eaeef5}#menu li.active a{background-image:none;border-right-width:0;font-weight:700}#menu li.active a,#menu li.active a:hover{background-color:#fff}#menu h4{display:none}#addto{max-width:10em}.addto .addtocart{background-image:url(../images/sprite.png);background-position:-5px -266px;background-repeat:no-repeat;padding-left:33px;text-decoration:none}.searchresults p{margin:0;padding:0 0 .6em}.searchresults p.details{color:#979797}.searchresults a.highlight_toggle{background-image:url(../images/sprite.png);background-position:-11px -837px;background-repeat:no-repeat;display:none;font-weight:400;padding:0 10px 0 21px}.searchresults .commentline{border-radius:3px;box-shadow:0 1px 1px 0 rgba(0,0,0,.2);background-color:rgba(255,255,204,.4);border:1px solid #ccc;display:inline-block;margin:.3em;padding:.4em}.searchresults .commentline .yours{background-color:hsla(82,95%,92%,.4)}.commentline .avatar{float:right;padding-left:.5em}.term{background-color:#ffc;color:#900}.shelvingloc{display:block;font-style:italic}#CheckAll,#CheckNone,.CheckAll,.CheckNone{font-weight:400;margin:0 .5em;text-decoration:underline}.sep{color:#888;padding:0 .2em 0 .5em;text-shadow:1px 1px 0 #fff}.pages a:first-child,.pages span:first-child{border-bottom-left-radius:3px;border-top-left-radius:3px;border-width:1px}.pages a:last-child,.pages span:last-child{border-bottom-right-radius:3px;border-top-right-radius:3px;border-width:1px 1px 1px 0}.pages .currentPage,.pages .inactive,.pages a{background-color:#fff;border-color:#ddd;-o-border-image:none;border-image:none;border-style:solid;border-width:1px 1px 1px 0;float:left;font-size:11.9px;line-height:20px;padding:4px 12px;text-decoration:none}.pages{margin:20px 0}.pages .inactive{background-color:#f5f5f5}.pages a[rel=last]{border-bottom-right-radius:3px;border-top-right-radius:3px}.hold-message{border-radius:3px;background-color:#fff0b1;display:inline-block;margin:.5em;padding:.2em .5em}.expiration_date,.reserve_date{white-space:nowrap}.close{color:#08c;-webkit-filter:none;filter:none;float:none;font-weight:400;position:inherit;right:auto;text-shadow:none;top:auto}.close,.close:hover{font-size:inherit;opacity:inherit}.close:hover{color:#538200;-webkit-filter:inherit;filter:inherit}.modal-header .closebtn{margin-top:2px}.closebtn{color:#000;float:right;font-size:20px;font-weight:700;line-height:20px;opacity:.2;text-shadow:0 1px 0 #fff}.closebtn:hover{color:#000;cursor:pointer;opacity:.4;text-decoration:none}button.closebtn{background:transparent;border:0;cursor:pointer;padding:0}.modal form{margin:0}#loginModal{margin-left:-200px;width:400px}#loginModal input{box-sizing:border-box;display:block;font-size:150%;height:auto;padding:.4em;width:100%}#loginModal input[type=submit]{font-size:100%;padding:.5em;transition:background-color .5s ease}#loginModal input[type=submit]:hover{background:#77b50f none}#loginModal .closebtn{color:#c00;opacity:1}#loginModal .closebtn:hover{opacity:.4}#loginModal .modal-body,#loginModal .modal-footer,#loginModal .modal-header{font-size:120%;padding:1em 2em}.forgotpassword,.nologininstructions,.patronregistration{padding-top:1em}.btn-group label,.btn-group select{font-size:13px}.span2 select{width:100%}.item-status{display:block;font-size:95%;margin-bottom:.5em}.available{color:#060}.unavailable{color:#903}.checkedout,.intransit,.lost,.notforloan,.notonhold,.waiting{display:block}.notforloan{color:#900}.lost{color:#666}.suggestion{background-color:#f0f3f3;border:1px solid #f0f3f3;color:#727272;margin:1em auto;padding:.5em;width:35%}.librarypulldown .transl1{width:auto}.nolibrarypulldown{width:68%}.nolibrarypulldown .transl1{width:87%}#opac-main-search select{max-width:12em;width:auto}#logo{background:transparent url(../images/koha-green-logo.png) no-repeat scroll 0;float:left!important;padding:0}#logo,#logo a{border:0;margin:0;width:100px}#logo a{cursor:pointer;display:block;height:0!important;overflow:hidden;padding:40px 0 0;text-decoration:none}#logo a:focus{background-color:transparent}#user-menu-trigger{display:none}#user-menu-trigger i{padding:14px 0 0;width:14px}#user-menu-trigger .caret{border-bottom-color:#999;border-top-color:#999;margin-top:18px}#header-region .icon-white{background-image:url(/opac-tmpl/bootstrap/lib/bootstrap/img/glyphicons-halflings.png)}.floating{box-shadow:0 3px 2px 0 rgba(0,0,0,.4);margin-top:0}.tdlabel{display:none;font-weight:700}#ulactioncontainer{min-width:16em}.notesrow label{font-weight:700}.notesrow span{display:block}.thumbnail-shelfbrowser span{margin:0 auto}.table .sorting_asc{background:url(../images/asc.gif) no-repeat scroll 100% 80% #e2e8e8;padding-right:19px}.table .sorting_desc{background:url(../images/desc.gif) no-repeat scroll 100% 80% #e2e8e8;padding-right:19px}.table .sorting{background:url(../images/ascdesc.gif) no-repeat scroll 100% 75% #e2e8e8;padding-right:19px}.table .nosort,.table .nosort.sorting,.table .nosort.sorting_asc,.table .nosort.sorting_desc{background:#e2e8e8 none;padding-right:19px}.table td,.table th{line-height:135%}.table-bordered,.table-bordered tbody:last-child tr:last-child>td:first-child,.table-bordered tbody:last-child tr:last-child>td:last-child,.table-bordered thead:first-child tr:first-child>th:first-child,.table-bordered thead:first-child tr:first-child>th:last-child{border-radius:0}.shelves ul,.tags ul{display:inline;list-style:none;margin-left:0}.shelves ul li,.tags ul li{display:inline}.coverimages{float:right}#i18nMenu{margin-left:1em}#i18nMenu li{font-size:85%}#i18nMenu li li,#i18nMenu li li>a{font-size:100%}#i18nMenu li li:hover{color:#fff}#i18nMenu li a{color:#0076b2}#i18nMenu .dropdown-menu li p{clear:both;display:block;font-weight:400;line-height:20px;padding:3px 20px;white-space:nowrap}#authorSearch label,#subjectsList label{display:inline;vertical-align:middle}#authorSearch ul,#subjectsList ul{border-bottom:1px solid #eee;list-style-type:none;margin:0;padding:.6em 0}#authorSearch li,#subjectsList li{list-style-type:none;margin:0;padding:0}#openlibrary-results,#overdrive-results,#recordedbooks-results{font-weight:700;padding-left:1em}.throbber{vertical-align:middle}#overdrive-results-list .star-rating-control{display:block;overflow:auto}#shelfbrowser table{margin:0}#shelfbrowser table,#shelfbrowser td,#shelfbrowser th{border:0;font-size:90%;text-align:center}#shelfbrowser td,#shelfbrowser th{padding:3px 5px;width:20%}#shelfbrowser a{display:block;font-size:110%;font-weight:700;text-decoration:none}#shelfbrowser #browser_next,#shelfbrowser #browser_previous{background-image:url(../images/sprite.png);background-repeat:no-repeat;width:16px}#shelfbrowser #browser_next a,#shelfbrowser #browser_previous a{cursor:pointer;display:block;height:0!important;margin:0;overflow:hidden;padding:50px 0 0;text-decoration:none;width:16px}#shelfbrowser #browser_previous{background-position:-9px -1007px}#shelfbrowser #browser_next{background-position:-9px -1057px}#holds{margin:0 auto;max-width:800px}.holdrow{border-bottom:1px solid #ccc;clear:both;margin-bottom:.5em;padding:0 1em 1em}.holdrow fieldset{border:0;float:none;margin:0}.holdrow fieldset .label{font-size:14px}.holdrow label{display:inline}.hold-options{clear:both;width:auto}.toggle-hold-options{background-color:#eee;clear:both;display:block;font-weight:700;margin:1em 0;padding:.5em}.copiesrow{clear:both}#idreambooksreadometer{float:right}.idreambookslegend{font-size:small}.idreambookssummary a{color:#707070;text-decoration:none}.idreambookssummary img{vertical-align:middle}.idbresult{color:#29ade4;margin:.5em;padding:.5em;text-align:center}.idbresult img{padding-right:6px;vertical-align:middle}.idbresult a,.idbresult a:visited{text-decoration:none;color:#29ade4}.js-show,.modal-nojs .modal-footer,.modal-nojs .modal-header{display:none}.contents{width:75%}.contents .t:first-child:before{content:"→ "}.contents .t:before{content:"\A → ";white-space:pre}.contents .t{font-weight:700}.contents .r,.contents .t{display:inline}.contentblock{font-size:95%;line-height:135%;margin-left:2em;position:relative}.m880{display:block;float:right;padding-left:20px;text-align:right;width:50%}#memberentry-form input.error,#memberentry-form input.error:focus{border-color:#c00;box-shadow:inset 0 1px 1px #c00,0 0 8px #c00;color:red;outline:0 none}#memberentry-form input.error label.error{color:#c00;float:none;font-size:90%}#illrequests .illrequest-actions{margin-bottom:20px;padding-top:20px}#illrequests .illrequest-actions .btn,#illrequests .illrequest-actions .cancel{margin-right:5px}#illrequests #illrequests-create-button{margin-bottom:20px}#illrequests .bg-info{overflow:auto;position:relative}#illrequests .bg-info #search-summary{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}#illrequests #freeform-fields .custom-name{float:left;margin-right:1em;text-align:right;width:8em}#illrequests .dropdown:hover .dropdown-menu.nojs{display:block}#dc_fieldset{border:1px solid #ddd;border-radius:10px;border-width:1px;padding:5px}.label_dc{cursor:pointer;display:inline;margin:0;padding:0}.btn-danger{color:#fff!important}.count_label{background-color:#369;border-radius:5px;color:#fff;display:inline-block;font-weight:700;min-width:1.5em;padding:.2em;text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.count_label:hover{background-color:#69c}.user_fines_count,.user_overdues_count{background-color:#900}.user_fines_count:hover,.user_overdues_count:hover{background-color:#c00}.user_holds_waiting_count{background-color:#538200}.user_holds_waiting_count:hover{background-color:#74b500}#user_summary{border:1px solid #eaeae6;margin-bottom:1em;padding-bottom:.5em}#user_summary h3{background-color:#e2e8e8;color:#727272;margin-top:0;padding:.2em 0;text-align:center}#user_summary ul{list-style-type:none;margin:0 0 .2em}#user_summary ul a{display:block;font-weight:700;padding:.2em 1em}.adlibris-cover{max-height:120px}.adlibris-cover-big{max-height:200px}@media only screen and (min-width:0) and (max-width:304px){input,select,textarea{max-width:11em;width:auto}}@media only screen and (min-width:0) and (max-width:440px){.statictabs li a,.ui-tabs .ui-tabs-nav li a{padding:.1em .5em}.input-fluid{width:90%}#wrap{padding:0}}@media only screen and (min-width:342px) and (max-width:479px){.input-fluid{width:75%}.searchsuggestion{display:block}}@media (max-width:979px){.navbar-fixed-bottom,.navbar-fixed-top{margin-left:0;margin-right:0;position:fixed}}@media only screen and (max-width:608px){fieldset.rows label{display:block;float:none;text-align:left}fieldset.rows li{padding-bottom:.5em}fieldset.rows .hint,fieldset.rows ol{margin-left:0}body{padding:0}.tdlabel{display:inline}.navbar-fixed-top,.navbar-static-top{margin:0}.navbar-inner{padding:0}#remove-selected,#selections-toolbar,.checkall,.clearall,.highlight_controls,.list-actions,.selectcol{display:none}.table td.bibliocol{padding-left:1.3em}.actions{display:block}.actions #login4tags,.actions a{border-radius:4px;background-color:#f2f2ef;border:1px solid #ddd;display:block;font-size:120%;font-weight:700;margin:2px 0}.actions .label{display:block;font-weight:700}.actions #login4tags{margin-right:1em}#opac-main-search .input-append,#opac-main-search .librarypulldown .transl1,#opac-main-search button,#opac-main-search input,#opac-main-search select{border-radius:5px;box-sizing:border-box;display:block;height:120%;margin:.5em 0;max-width:100%;width:97%}#opac-main-search .input-append{margin:0;width:100%}#opac-main-search .librarypulldown .transl1{width:94.5%}#toolbar .resort{border-radius:5px;font-size:14px;margin:.5em 0;max-width:100%;padding:4px 6px}.mastheadsearch{border-radius:0;margin:0}.main{border-radius:0;margin:.5em 0;padding:15px}.breadcrumb{margin:10px 0}#moresearches{text-align:center}#searchsubmit{font-weight:700}#topissues .item-thumbnail,#usersuggestions .item-thumbnail,#usertags .item-thumbnail,.tabs-container .item-thumbnail,.ui-tabs-panel .item-thumbnail{margin:.5em 0 0 .5em}#topissues .table-bordered,#usersuggestions .table-bordered,#usertags .table-bordered,.tabs-container .table-bordered,.ui-tabs-panel .table-bordered{border:0}#topissues .table th,#topissues .table thead,#usersuggestions .table th,#usersuggestions .table thead,#usertags .table th,#usertags .table thead,.tabs-container .table th,.tabs-container .table thead,.ui-tabs-panel .table th,.ui-tabs-panel .table thead{display:none}#topissues .table td,#usersuggestions .table td,#usertags .table td,.tabs-container .table td,.ui-tabs-panel .table td{border-left:1px solid #ddd;border-right:1px solid #ddd;border-top:0;display:block;padding:.2em}#topissues .table p,#usersuggestions .table p,#usertags .table p,.tabs-container .table p,.ui-tabs-panel .table p{margin-bottom:2px}#topissues tr,#usersuggestions tr,#usertags tr,.tabs-container tr,.ui-tabs-panel tr{display:block;margin-bottom:.6em}#topissues tr td:first-child,#usersuggestions tr td:first-child,#usertags tr td:first-child,.tabs-container tr td:first-child,.ui-tabs-panel tr td:first-child{border-radius:5px 5px 0 0;border-top:1px solid #ddd}#topissues tr td:last-child,#usersuggestions tr td:last-child,#usertags tr td:last-child,.tabs-container tr td:last-child,.ui-tabs-panel tr td:last-child{border-bottom:2px solid #cacaca;border-radius:0 0 5px 5px}.no-image{display:none}}@media only screen and (max-width:700px){#opac-main-search label{display:none}#logo{background:transparent url(../lib/bootstrap/img/glyphicons-halflings.png) no-repeat;background-position:0 -24px;margin:14px 14px 0;width:14px}#logo a{padding:14px 0 0;width:14px}#user-menu-trigger{display:inline;margin-right:12px}#members{clear:both;display:none}#members li{border-bottom:1px solid #555;padding-right:20px;text-align:right}#members li:first-child{border-top:1px solid #555}#members li:last-child{border-bottom:0}#members .nav,#members .nav.pull-right,#members .nav>li{float:none}#members .divider-vertical{border:0;height:0;margin:0}}@media only screen and (min-width:480px) and (max-width:608px){.input-fluid{width:75%}}@media only screen and (min-width:608px){#views{border-bottom:1px solid #d6d6d6;margin:0;padding:0;white-space:nowrap}.view{border-bottom-width:0;border-radius:0;border-right-width:0;border-top-width:0}.current-view{border:0;box-shadow:none}}@media only screen and (min-width:608px) and (max-width:767px){.main{padding:.8em 20px}.breadcrumb{margin:10px 0}.navbar-static-bottom{margin-left:-20px;margin-right:-20px}.row-fluid input.span6{width:48.9362%}}@media only screen and (max-width:767px){a.title{font-size:120%}#userresults{margin:0 -20px}#top-pages,.breadcrumb,.menu-collapse{display:none}#menu,#search-facets{margin-bottom:.5em}#menu h4,#search-facets h4{display:block;margin:0;padding:0}#menu h4 a,#search-facets h4 a{border-radius:7px;border-bottom:0;font-weight:400;padding:.7em .2em}#menu ul,#search-facets ul{padding:0}#menu li a{border-radius:0;border:0;border-bottom:1px solid #d8d8d8;display:block;font-size:120%;margin:0;text-decoration:none}#menu li.active a{border-right-width:1px;border-top:1px solid #d8d8d8}#menu li:last-child a{border-radius:0 0 7px 7px}#search-facets li{padding:.4em}#search-facets h5{margin:.2em}#menu h4 a.menu-open,#search-facets h4 a.menu-open{border-bottom:1px solid #d8d8d8;border-radius:7px 7px 0 0}#loginModal{margin:0;width:auto}}@media only screen and (max-width:800px){.cartlabel,.listslabel{display:none}.navbar .divider-vertical{margin:0 2px}.navbar #members .divider-vertical{margin:0 9px}}@media only screen and (min-width:768px){.main{margin-left:20px;margin-right:20px}#menu{border-radius:0;border:0;border-right:1px solid #d8d8d8}#menu h4{display:none}#menu ul{padding:1em 0}#didyoumean{margin:0}.searchsuggestion{white-space:nowrap}}@media only screen and (min-width:768px) and (max-width:984px){.librarypulldown .transl1{width:38%}}@media only screen and (min-width:984px){.librarypulldown .transl1{width:53%}}@media only screen and (max-width:1040px){#a_listResults,#close_pagination{padding:5px}.pg_menu li a{display:block;float:none;text-align:left}.pg_menu li.back_results a{border:0;border-bottom:1px solid #ddd;border-top:1px solid #ddd}#ulactioncontainer{min-width:0}} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 5db72ee..c99eb7c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -3004,6 +3004,7 @@ button.closebtn { .hold-options { clear: both; + width: auto; } .toggle-hold-options { diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt index 9992c7a..8a16e3c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt @@ -151,6 +151,7 @@ [% FOREACH bibitemloo IN bibitemloop %]
+

[% IF ( bibitemloo.holdable ) %] @@ -474,6 +475,21 @@ function select_first_available(id){ var checkboxes = $("input:checkbox[name='checkitem_" + id + "']"); $(checkboxes).first().attr("checked", "checked"); + + var nbCheked = 1; + var remaining = $("input[id='remaining_holds_"+id+"']").val(); + var remaining_holds_today = $("input[id='remaining_holds_allowed_today"+id+"']").val(); + var maxreserves = "[% maxreserves | html %]"; + console.log(maxreserves); + if (nbCheked == remaining) { + $("input[name='checkitem_"+id+"']:not(:checked)").attr('disabled', 'disabled'); + } + else if (nbCheked == remaining_holds_today) { + $("input[name='checkitem_"+id+"']:not(:checked)").attr('disabled', 'disabled'); + } + else if (nbCheked == maxreserves) { + $("input[name='checkitem_"+id+"']:not(:checked)").attr('disabled', 'disabled'); + } } $(document).ready(function() { @@ -498,12 +514,22 @@ var bibNum = suffixOf($(this).attr("name"), "_"); var nbCheked = $("input[name='checkitem_"+bibNum+"']:checked").length; var remaining = $("input[id='remaining_holds_"+bibNum+"']").val(); + var remaining_holds_today = $("input[id='remaining_holds_allowed_today"+bibNum+"']").val(); + var maxreserves = "[% maxreserves | html %]"; + console.log(maxreserves); if (nbCheked >= remaining) { $("input[name='checkitem_"+bibNum+"']:not(:checked)").attr('disabled', 'disabled'); } + else if (nbCheked >= remaining_holds_today) { + $("input[name='checkitem_"+bibNum+"']:not(:checked)").attr('disabled', 'disabled'); + } + else if (nbCheked >= maxreserves) { + $("input[name='checkitem_"+bibNum+"']:not(:checked)").attr('disabled', 'disabled'); + } else { $('.checkitem_'+bibNum).attr('disabled', false); } + }); $(".toggle-hold-options").on("click",function(e){ diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl index 5a7ced8..f9e4817 100755 --- a/opac/opac-reserve.pl +++ b/opac/opac-reserve.pl @@ -65,6 +65,8 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); +$template->param(maxreserves => $maxreserves); + my ($show_holds_count, $show_priority); for ( C4::Context->preference("OPACShowHoldQueueDetails") ) { m/holds/o and $show_holds_count = 1; @@ -622,8 +624,17 @@ foreach my $biblioNum (@biblionumbers) { my $max_holds_for_record = GetMaxPatronHoldsForRecord( $borrowernumber, $biblioNum ); my $remaining_holds_for_record = $max_holds_for_record - $holds->count(); - $biblioLoopIter{remaining_holds_for_record} = $remaining_holds_for_record; + my $today_holds = Koha::Holds->search({ + borrowernumber => $borrowernumber, + reservedate => dt_from_string->date + }); + + my $holds_allowed_on_record_today = GetAllowedHoldsForPatronToday( $borrowernumber, $biblioNum ); + my $remaining_holds_allowed_today = $holds_allowed_on_record_today - $today_holds->count(); + + $biblioLoopIter{remaining_holds_for_record} = $remaining_holds_for_record; + $biblioLoopIter{remaining_holds_allowed_today} = $remaining_holds_allowed_today; push @$biblioLoop, \%biblioLoopIter; diff --git a/reserve/request.pl b/reserve/request.pl index db02e52..d5fd6de 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -259,10 +259,28 @@ foreach my $biblionumber (@biblionumbers) { # we must find out what the maximum number of holds they can place for the patron is my $max_holds_for_record = GetMaxPatronHoldsForRecord( $patron->borrowernumber, $biblionumber ); my $remaining_holds_for_record = $max_holds_for_record - $holds->count(); + + # Determine how many holds the patron can place per day on this biblio record. + # Then calculate how many holds the patron can place subtracting holds already placed today + my $today_holds = Koha::Holds->search({ + borrowernumber => $patron->borrowernumber, + reservedate => dt_from_string->date + }); + + my $holds_allowed_on_record_today = GetAllowedHoldsForPatronToday( $patron->borrowernumber, $biblionumber ); + my $remaining_holds_allowed_today = $holds_allowed_on_record_today - $today_holds->count(); + + my $maxreserves = C4::Context->preference('maxreserves'); + $biblioloopiter{remaining_holds_for_record} = $max_holds_for_record; + $biblioloopiter{remaining_holds_allowed_today} = $holds_allowed_on_record_today; $template->param( max_holds_for_record => $max_holds_for_record ); $template->param( remaining_holds_for_record => $remaining_holds_for_record ); + $template->param( holds_allowed_on_record_today => $holds_allowed_on_record_today ); + $template->param( remaining_holds_allowed_today => $remaining_holds_allowed_today ); + $template->param( maxreserves => $maxreserves ); + { # alreadypossession # Check to see if patron is allowed to place holds on records where the # patron already has an item from that record checked out diff --git a/t/db_dependent/Reserves/MultiplePerRecord.t b/t/db_dependent/Reserves/MultiplePerRecord.t index 7f639ce..61f5833 100755 --- a/t/db_dependent/Reserves/MultiplePerRecord.t +++ b/t/db_dependent/Reserves/MultiplePerRecord.t @@ -1,6 +1,7 @@ #!/usr/bin/perl # Copyright 2016 ByWater Solutions +# Copyright 2018 Catalyst IT # # This file is part of Koha. # @@ -19,11 +20,11 @@ use Modern::Perl; -use Test::More tests => 38; +use Test::More tests => 42; use t::lib::TestBuilder; use t::lib::Mocks; -use C4::Reserves qw( GetMaxPatronHoldsForRecord AddReserve CanBookBeReserved ); +use C4::Reserves qw( GetMaxPatronHoldsForRecord GetAllowedHoldsForPatronToday AddReserve CanBookBeReserved ); use Koha::Database; use Koha::Holds; @@ -197,11 +198,16 @@ my $rule4 = $rules_rs->new( branchcode => '*', reservesallowed => 4, holds_per_record => 4, + holds_per_day => 4, } )->insert(); $max = GetMaxPatronHoldsForRecord( $patron->{borrowernumber}, $biblio->{biblionumber} ); is( $max, 4, 'GetMaxPatronHoldsForRecord returns max of 4' ); + +my $holds_per_day = GetAllowedHoldsForPatronToday( $patron->{borrowernumber}, $biblio->{biblionumber} ); +is( $holds_per_day, 4, 'GetAllowedHoldsForPatronToday returns max of 4' ); + $rule = C4::Reserves::GetHoldRule( $category->{categorycode}, $itemtype2->{itemtype}, @@ -212,6 +218,7 @@ is( $rule->{itemtype}, $itemtype2->{itemtype}, 'Got rule with univers is( $rule->{branchcode}, '*', 'Got rule with universal branchcode' ); is( $rule->{reservesallowed}, 4, 'Got reservesallowed of 4' ); is( $rule->{holds_per_record}, 4, 'Got holds_per_record of 4' ); +is( $rule->{holds_per_day}, 4, 'Got holds_per_day of 4' ); my $rule5 = $rules_rs->new( { @@ -220,11 +227,17 @@ my $rule5 = $rules_rs->new( branchcode => $library->{branchcode}, reservesallowed => 5, holds_per_record => 5, + holds_per_day => 5, } )->insert(); $max = GetMaxPatronHoldsForRecord( $patron->{borrowernumber}, $biblio->{biblionumber} ); is( $max, 5, 'GetMaxPatronHoldsForRecord returns max of 1' ); + +$holds_per_day = GetAllowedHoldsForPatronToday( $patron->{borrowernumber}, $biblio->{biblionumber} ); +is( $holds_per_day, 5, 'GetAllowedHoldsForPatronToday returns max of 5' ); + + $rule = C4::Reserves::GetHoldRule( $category->{categorycode}, $itemtype2->{itemtype}, @@ -235,6 +248,7 @@ is( $rule->{itemtype}, $itemtype2->{itemtype}, 'Got rule with univers is( $rule->{branchcode}, $library->{branchcode}, 'Got rule with specific branchcode' ); is( $rule->{reservesallowed}, 5, 'Got reservesallowed of 5' ); is( $rule->{holds_per_record}, 5, 'Got holds_per_record of 5' ); +is( $rule->{holds_per_day}, 5, 'Got holds_per_day of 5' ); $rule1->delete(); $rule2->delete(); @@ -273,6 +287,7 @@ $rule = $rules_rs->new( branchcode => '*', reservesallowed => 2, holds_per_record => 2, + holds_per_day => 2, } )->insert(); -- 2.1.4