Bug 28235: Correct CSS governing max width of custom cover images
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / css / src / opac.scss
1 @import "common";
2
3 .no-js {
4     .dateformat {
5         display: inline;
6         white-space: nowrap;
7     }
8
9     .modal-body {
10         padding: 0;
11     }
12
13     .selections-toolbar,
14     #renewall_js {
15         display: none;
16     }
17
18     #sortsubmit {
19         display: inline;
20         padding-left: 0;
21         padding-right: 0;
22     }
23
24     .dropdown-toggle::after {
25         border: 0;
26     }
27
28     #listsmenu,
29     #user-menu,
30     .nav-item .login-link {
31         color: $links;
32
33         &:hover {
34             color: $links-hover;
35         }
36     }
37 }
38
39 .js {
40     .dateformat,
41     #sortsubmit,
42     #sorting-form,
43     .js-hide {
44         display: none;
45     }
46 }
47
48 .popup {
49     padding-left: 0;
50     padding-right: 0;
51
52     .main {
53         font-size: 90%;
54         padding: 0 1em;
55     }
56
57     legend {
58         line-height: 1.5em;
59         margin-bottom: .5em;
60     }
61 }
62
63 a {
64     &:link,
65     &:visited {
66         &.cartRemove {
67             color: #900;
68             font-size: 90%;
69             padding-left: 0;
70
71             &:hover {
72                 color: #C60000;
73             }
74         }
75     }
76
77     &.cancel {
78         padding-left: 1em;
79     }
80
81     &.clear_date {
82         color: #C33;
83         font-size: 130%;
84     }
85
86     &.title {
87         display: block;
88         font-size: 108%;
89         font-weight: bold;
90     }
91
92     &.login-link {
93         color: #005580;
94         font-weight: bold;
95     }
96
97     .idreambooksrating {
98         color: #29ADE4;
99         font-size: 30px;
100         line-height: 30px;
101         padding-left: 85px;
102         text-decoration: none;
103     }
104
105     &.reviewlink,
106     &.reviewlink:visited {
107         color: #000;
108         font-weight: normal;
109         text-decoration: none;
110     }
111
112     &.OpenURL img {
113         vertical-align: middle;
114     }
115
116     &.addtocart {
117         padding-right: 0;
118     }
119
120     &.highlight_toggle {
121         display: none;
122     }
123
124     &.incart {
125         color: #666;
126     }
127
128     &.remove {
129         &:hover {
130             color: #900;
131
132             i {
133                 .fa {
134                     color: #C60000;
135                 }
136             }
137         }
138     }
139 }
140
141 input,
142 textarea {
143     width: auto;
144 }
145
146 .input-fluid {
147     width: 50%;
148 }
149
150 legend {
151     color: #727272;
152     font-size: 110%;
153     font-weight: bold;
154 }
155
156 table {
157     font-size: 90%;
158 }
159
160 table,
161 td {
162     background-color: #FFF;
163 }
164
165 tr {
166     &.outstanding {
167         font-style: italic;
168     }
169 }
170
171 td {
172     img {
173         max-width: none;
174     }
175
176     &.bookcover {
177         background: #FFF url( "../images/spinner-small.gif" ) center center no-repeat;
178         min-width: 120px;
179         text-align: center;
180     }
181
182     .cover-slides {
183         background: transparent none;
184         border: 0;
185         margin: 0;
186         min-height: unset;
187         padding: 0;
188     }
189
190     &.overdue {
191         color: #CC3333;
192     }
193
194     &.sum {
195         background-color: #FFFFE5;
196         font-weight: bold;
197     }
198
199     .btn {
200         white-space: nowrap;
201     }
202
203     &.selectcol {
204         width: 1ch;
205     }
206
207     &.numcol {
208         width: 3ch;
209     }
210
211     &.hidden {
212         display: none;
213     }
214 }
215
216 th {
217     background-color: #E2E8E8;
218
219     &.sum {
220         text-align: right;
221     }
222
223     &[scope="row"] {
224         background-color: transparent;
225         text-align: right;
226     }
227 }
228
229 #advsearch {
230     input,
231     select {
232         max-width: 100%;
233     }
234 }
235
236 #advsearches,
237 #booleansearch {
238     label {
239         display: inline;
240     }
241 }
242
243 #backtotop {
244     bottom: 40px;
245     display: inline-block;
246     font-size: 120%;
247     position: fixed;
248     right: 40px;
249     text-align: center;
250     z-index: 1000;
251 }
252
253 #booleansearch {
254     width: 80%;
255 }
256
257 #advsearch_limits,
258 #subtypes {
259     label {
260         color: #727272;
261         display: block;
262         font-size: 110%;
263         font-weight: bold;
264     }
265
266     &.row {
267         margin-bottom: 15px;
268     }
269 }
270
271 .advanced-search-terms {
272     &.extended {
273         .search-term-row {
274             grid-template-columns: 25% 35% 35% 5%;
275             margin: 5px 0;
276         }
277     }
278 }
279
280 .actions {
281     white-space: nowrap;
282
283     &:first-child {
284         .btn-link {
285             padding-left: 0;
286         }
287     }
288 }
289
290 .advsearch_limit {
291     border: 1px solid #D8D8D8;
292     font-size: 90%;
293     height: 100%;
294     margin-bottom: 15px;
295     padding: 15px;
296 }
297
298 .search_operator {
299     text-align: right;
300
301     label {
302         font-style: italic;
303     }
304 }
305
306 .ButtonPlus,
307 .ButtonLess {
308     i {
309         font-size: 125%;
310     }
311 }
312
313 #basketcount {
314     display: inline;
315     margin: 0;
316     padding: 0;
317
318     span {
319         @include border-radius-all( 3px );
320
321         background-color: $base-theme-color;
322         color: #FFF;
323         display: inline;
324         font-family: NotoSans;
325         font-size: 80%;
326         font-weight: normal;
327         margin: 0 0 0 .9em;
328         padding: 0 .3em;
329     }
330 }
331
332 #members {
333     p {
334         color: #727272;
335     }
336
337     a {
338         &:link,
339         &:visited,
340         &:hover,
341         &:active {
342             text-decoration: none;
343         }
344
345         &.logout {
346             color: #E8583C;
347             font-weight: bold;
348
349             &:hover {
350                 color: #E8583C;
351             }
352         }
353
354         &.clearsh {
355             color: #D43C00;
356             font-size: 80%;
357             font-weight: normal;
358             padding-bottom: .6rem;
359             padding-top: .6rem;
360
361             &:hover {
362                 color: #E8583C;
363             }
364         }
365     }
366
367     .dropdown-menu {
368         a {
369             &:hover {
370                 color: #005580;
371                 text-decoration: underline;
372
373                 &.logout {
374                     &:hover {
375                         color: #E8583C;
376                     }
377                 }
378             }
379         }
380     }
381
382     .divider-vertical {
383         border: 1px solid #EEE;
384         border-right-color: #FCF9FC;
385         margin: 5px 0;
386     }
387 }
388
389 #loggedinuser-menu {
390     min-width: 300px;
391     padding: .5em 1em;
392
393     .divider-vertical {
394         margin: 5px 5px;
395     }
396 }
397
398 #moresearches {
399     margin: .5em 30px;
400     padding: 0 15px;
401
402     li {
403         display: inline-block;
404         padding-right: 5px;
405         white-space: nowrap;
406
407         &::after {
408             content: " | ";
409         }
410
411         &:last-child {
412             &::after {
413                 content: "";
414             }
415         }
416     }
417
418     ul {
419         margin: 0;
420     }
421 }
422
423 #news {
424     margin: .5em 0;
425     padding: 1em;
426
427     .newsitem {
428         &:last-child {
429             .newsfooter {
430                 border-bottom: 0;
431             }
432         }
433     }
434 }
435
436 .newscontainer {
437     border: 1px solid #DDD;
438 }
439
440 .newsheader {
441     margin: 0;
442     padding: 8px 0;
443 }
444
445 .newsbody {
446     padding: 8px 0;
447 }
448
449 .newsfooter {
450     border-bottom: 1px solid #EEE;
451     color: #727272;
452     font-size: 90%;
453     margin-bottom: .5em;
454     padding-bottom: .5em;
455 }
456
457 #rssnews-container {
458     color: #727272;
459     font-size: 90%;
460     padding: .5em 0;
461 }
462
463 .rsssearchlink {
464     &:hover {
465         text-decoration: none;
466     }
467 }
468
469 .fa {
470     &.fa-rss {
471         background: rgb( 240, 109, 52 ) none;
472         border-radius: 3px;
473         color: #FFF;
474         margin: 0 2px;
475         padding: 2px 4px;
476         text-shadow: 1px 0 1px rgba( 0, 0, 0, .25 );
477
478         &.rsssearchicon {
479             font-size: 70%;
480         }
481     }
482 }
483
484 .form-control-filtered {
485     background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-funnel-fill'%3E%3Cpath d='M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z' fill='%23acacac'/%3E%3C/svg%3E" );
486     background-position-x: 6px;
487     background-position-y: center;
488     background-repeat: no-repeat;
489     padding-left: 1.7rem;
490 }
491
492 #numresults {
493     color: #727272;
494 }
495
496 .actions-menu {
497     padding-top: 5px;
498 }
499
500 .view,
501 .actions,
502 .toolbar,
503 #action {
504     a,
505     button {
506         color: darken( $links, 5% );
507
508         &:hover {
509             i {
510                 &.fa {
511                     color: #338468;
512                 }
513             }
514         }
515
516         i {
517             &.fa {
518                 color: #4466AE;
519             }
520         }
521
522         &.remove {
523             &:hover {
524                 color: #900;
525
526                 i {
527                     &.fa {
528                         color: #C60000;
529                     }
530                 }
531             }
532         }
533
534         &.disabled,
535         &[disabled] {
536             color: #333;
537             opacity: .65;
538
539             &:hover {
540                 i {
541                     &.fa {
542                         color: #333;
543                         opacity: .65;
544                     }
545                 }
546             }
547         }
548     }
549 }
550
551 /* Override Bootstrap alert */
552 .alert {
553     /* Redefine a new style for Bootstrap's class "close" since we use that already */
554
555     /* Use <a class="closebtn" href="#">&times;</a> */
556
557     .closebtn {
558         line-height: 20px;
559         position: relative;
560         right: -21px;
561         top: -2px;
562     }
563 }
564
565 /* Add style for Bootstrap dropdown-header class */
566 .dropdown-header {
567     border-top: 1px solid #EEE;
568     color: #000;
569     display: block;
570     font-size: 90%;
571     font-weight: 700;
572     line-height: 1.4286;
573     padding: 3px 20px;
574     padding-left: 10px;
575     white-space: nowrap;
576 }
577
578 .btn-group.open {
579     .btn-link {
580         &.dropdown-toggle {
581             background-image: none;
582             box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, .25 );
583         }
584     }
585 }
586
587 .breadcrumb {
588     background-color: #F0F3F3;
589     border-radius: 0;
590     font-size: 85%;
591     list-style: none outside none;
592     margin: 15px;
593     padding: 5px 10px;
594
595     a {
596         color: darken( $links, 5% );
597     }
598 }
599
600 .breadcrumb-item {
601     + .breadcrumb-item {
602         &::before {
603             background: transparent url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' %3E%3Cpath fill-rule='evenodd' d='M7.37 0l5.35 7.3c.2.2.2.51 0 .7l-5.38 8h-4.2l5.64-8.35L3.13.01z'/%3E%3C/svg%3E" ) 50% 50% no-repeat;
604             background-size: 8px;
605             content: "";
606             display: inline-block;
607             float: none;
608             height: .8em;
609             width: .8em;
610         }
611     }
612
613     &.active {
614         a:link,
615         a:visited,
616         a:hover,
617         a:active {
618             color: #666;
619             cursor: text;
620             text-decoration: none;
621         }
622     }
623 }
624
625 #opac-main-search {
626     background: #F0F3F3;
627     margin: 7px 0;
628     padding: 15px;
629
630     label {
631         color: $high-contrast-grey;
632         font-size: 115%;
633         font-weight: bold;
634         margin: 0;
635     }
636 }
637
638 #cart-list-nav {
639     flex-grow: 2;
640 }
641
642 .table-striped tbody > tr:nth-child( odd ) > td,
643 .table-striped tbody > tr:nth-child( odd ) > th {
644     background-color: #F0F3F3;
645
646     a {
647         color: darken( $links, 5% );
648
649         &.btn {
650             color: #FFF;
651
652             &.btn-link {
653                 color: $links;
654             }
655         }
656     }
657
658     button {
659         &.btn-link {
660             color: darken( $links, 5% );
661         }
662     }
663 }
664
665 #availability_facet {
666     color: #727272;
667 }
668
669 #facet-holdings-library {
670     color: #727272;
671 }
672
673 #toolbar {
674     background-color: #F0F3F3;
675     border: 1px solid #F0F3F3;
676     margin: 0;
677
678     &.clearfix {
679         background-color: #F0F3F3;
680     }
681 }
682
683 .item-thumbnail {
684     max-width: none;
685 }
686
687 .no-image {
688     @include border-radius-all( 3px );
689
690     background-color: #FFF;
691     border: 1px solid #AAA;
692     color: #979797;
693     display: block;
694     font-size: 86%;
695     font-weight: bold;
696     text-align: center;
697     width: 75px;
698 }
699
700 .bookcover {
701     float: left;
702     margin: 0;
703     padding: 0;
704     text-align: center;
705
706     .no-image {
707         margin-bottom: 10px;
708         margin-right: 10px;
709     }
710
711     img {
712         margin: 1em;
713     }
714 }
715
716 #biblio-cover-slider {
717     background-color: #FFF;
718     border: 1px solid #B9D8D9;
719     border-radius: 3px;
720     margin: 0 1em .5em 0;
721     min-height: 175px;
722     padding: 10px 5px 5px 5px;
723 }
724
725 .cover-slides {
726     background: #FFF url( "../images/spinner-small.gif" ) center center no-repeat;
727
728     .hint {
729         font-size: 80%;
730         padding: .5em 0;
731     }
732
733     a {
734         &.nav-active {
735             &:link,
736             &:visited {
737                 color: #85CA11;
738             }
739         }
740     }
741 }
742
743 .cover-image {
744     display: none;
745
746     img {
747         height: auto;
748         max-width: 100%;
749     }
750 }
751
752 .custom_cover_image {
753     img {
754         max-width: 140px;
755     }
756 }
757
758 .cover-nav {
759     display: inline-block;
760     padding: 3px 4px;
761 }
762
763 div {
764     &.required_label {
765         display: none;
766
767         &.required {
768             color: #C00;
769             display: block;
770             font-size: 95%;
771             margin-left: 10rem;
772             margin-top: 3px;
773         }
774     }
775
776     &.rows {
777         clear: left;
778         float: left;
779         margin: 0;
780         padding: 0;
781         width: 100%;
782
783         + div.rows {
784             margin-top: .6em;
785         }
786
787         span {
788             &.label {
789                 float: left;
790                 font-weight: bold;
791                 margin-right: 1em;
792                 text-align: left;
793                 width: 9rem;
794             }
795         }
796
797         ol {
798             list-style-type: none;
799             margin-left: 0;
800             padding: .5em 1em 0 0;
801
802             li {
803                 li {
804                     border-bottom: 0;
805                 }
806             }
807         }
808
809         li {
810             border-bottom: 1px solid #EEE;
811             clear: left;
812             float: left;
813             list-style-type: none;
814             padding-bottom: .2em;
815             padding-top: .1em;
816             width: 100%;
817         }
818
819         ul {
820             li {
821                 margin-left: 7.3em;
822
823                 &:first-child {
824                     clear: none;
825                     float: none;
826                     margin-left: 0;
827                 }
828             }
829         }
830     }
831 }
832
833 .required {
834     &.valid {
835         color: #000;
836     }
837 }
838
839 .label {
840     background-color: transparent;
841     color: inherit;
842     display: inline;
843     font-weight: normal;
844     padding: 0;
845     text-shadow: none;
846 }
847
848 .blabel {
849     background-color: #999999;
850     border-radius: 3px;
851     color: #FFFFFF;
852     display: inline-block;
853     font-weight: bold;
854     padding: 2px 4px;
855     text-shadow: 0 -1px 0 rgba( 0, 0, 0, .25 );
856 }
857
858 .label-important {
859     background-color: #B94A48;
860 }
861
862 .label-warning {
863     background-color: #F89406;
864 }
865
866 .label-success {
867     background-color: #468847;
868 }
869
870 .label-info {
871     background-color: #3A87AD;
872 }
873
874 .label-inverse {
875     background-color: #333333;
876 }
877
878 fieldset {
879     &.rows {
880         clear: left;
881         float: left;
882         font-size: 90%;
883         margin: .9em 0 0;
884         padding: 0;
885         width: 100%;
886
887         legend {
888             font-size: 130%;
889             font-weight: bold;
890         }
891
892         div.label {
893             display: inline-block;
894             float: none;
895             margin-right: 1rem;
896             width: 9rem;
897         }
898
899         label,
900         .label {
901             float: left;
902             font-weight: bold;
903             margin-right: 1rem;
904             text-align: right;
905             width: 9rem;
906         }
907
908         label.checkbox-label {
909             float: none;
910             font-weight: normal;
911             margin-right: 0;
912             text-align: left;
913             width: auto;
914         }
915
916         label {
917             &.error {
918                 color: #C00;
919                 display: inline;
920                 float: none;
921                 font-style: italic;
922                 font-weight: normal;
923                 margin-left: 1rem;
924                 text-align: left;
925                 width: auto;
926             }
927
928             &.lradio {
929                 float: none;
930                 margin: inherit;
931                 width: auto;
932             }
933         }
934
935         fieldset {
936             margin: 0;
937             padding: .3em;
938         }
939
940         ol {
941             list-style-type: none;
942             padding: 1em 1em 0 1em;
943
944             &.lradio {
945                 label {
946                     float: none;
947                     margin-right: 0;
948                     width: auto;
949
950                     &.lradio {
951                         float: left;
952                         margin-right: 1em;
953                         width: 12em;
954                     }
955                 }
956             }
957         }
958
959         li {
960             clear: left;
961             float: left;
962             list-style-type: none;
963             padding-bottom: 1em;
964             width: 100%;
965
966             &.lradio {
967                 width: auto;
968
969                 label {
970                     float: none;
971                     margin: 0;
972                     width: auto;
973                 }
974
975                 input {
976                     margin-right: 1rem;
977                 }
978             }
979         }
980
981         .hint {
982             display: block;
983             margin-left: 10rem;
984         }
985     }
986
987     &.action {
988         border: 0;
989         clear: both;
990         float: none;
991         margin: 0;
992         padding: 1em 0 .3em;
993         width: auto;
994
995         p {
996             margin-bottom: 1em;
997         }
998     }
999
1000     table {
1001         font-size: 100%;
1002     }
1003 }
1004
1005 /* different sizes for different tags in opac-tags.tt */
1006
1007 .tagweight0 {
1008     font-size: 12px;
1009 }
1010
1011 .tagweight1 {
1012     font-size: 14px;
1013 }
1014
1015 .tagweight2 {
1016     font-size: 16px;
1017 }
1018
1019 .tagweight3 {
1020     font-size: 18px;
1021 }
1022
1023 .tagweight4 {
1024     font-size: 20px;
1025 }
1026
1027 .tagweight5 {
1028     font-size: 22px;
1029 }
1030
1031 .tagweight6 {
1032     font-size: 24px;
1033 }
1034
1035 .tagweight7 {
1036     font-size: 26px;
1037 }
1038
1039 .tagweight8 {
1040     font-size: 28px;
1041 }
1042
1043 .tagweight9 {
1044     font-size: 30px;
1045 }
1046
1047 .toolbar {
1048     background-color: #EEEEEE;
1049     border: 1px solid #E8E8E8;
1050     font-size: .9rem;
1051     padding: 3px 3px 5px 5px;
1052     vertical-align: middle;
1053
1054     a:link,
1055     a:hover,
1056     button {
1057         font-size: .9rem;
1058         white-space: nowrap;
1059     }
1060
1061     label {
1062         display: inline;
1063         font-size: 100%;
1064         font-weight: bold;
1065     }
1066
1067     select {
1068         max-width: 100%;
1069     }
1070
1071     #tagsel_form {
1072         margin-top: .5em;
1073     }
1074
1075     li {
1076         &.dropdown-header {
1077             display: block;
1078         }
1079     }
1080
1081     ul {
1082         padding-left: 0;
1083     }
1084 }
1085
1086 #basket {
1087     .toolbar {
1088         padding: 7px 5px 9px 9px;
1089     }
1090 }
1091
1092 .selections {
1093     color: #727272;
1094     font-weight: bold;
1095
1096     &::before {
1097         color: #6C757D;
1098         content: "|";
1099         display: inline-block;
1100         font-weight: normal;
1101         padding: 0 .5rem;
1102         text-shadow: 1px 1px 0 #FFF;
1103     }
1104 }
1105
1106 .check_control {
1107     &::before {
1108         color: #6C757D;
1109         content: "|";
1110         display: inline-block;
1111         font-weight: normal;
1112         padding: 0 .5rem;
1113         text-shadow: 1px 1px 0 #FFF;
1114     }
1115 }
1116
1117 .selections-toolbar {
1118     background: linear-gradient( #B2B2B2 0%, #E0E0E0 14%, #E8E8E8 100% );
1119     border-bottom: none;
1120     display: flex;
1121     margin: 0;
1122     margin-top: 3px;
1123     padding-left: 10px;
1124     padding-top: .5em;
1125
1126     > div:first-child::before {
1127         content: "";
1128         padding: 0;
1129     }
1130
1131     a,
1132     button,
1133     input {
1134         font-size: .9rem;
1135     }
1136 }
1137
1138 .list-actions {
1139     display: inline;
1140
1141     a,
1142     button,
1143     input {
1144         font-size: .9rem;
1145     }
1146 }
1147
1148 .results_summary {
1149     color: #202020;
1150     display: block;
1151     font-size: 85%;
1152     padding: 0 0 .5em;
1153
1154     .results_summary {
1155         font-size: 100%;
1156     }
1157
1158     &.actions {
1159         margin-top: .5em;
1160     }
1161
1162     &.tagstatus {
1163         display: inline;
1164     }
1165
1166     .label {
1167         color: $high-contrast-grey;
1168     }
1169
1170     a {
1171         font-weight: normal;
1172     }
1173 }
1174
1175 .resource_list {
1176     display: inline;
1177     margin: 0 auto;
1178     padding-left: 0;
1179
1180     li {
1181         display: inline-block;
1182
1183         &::after {
1184             content: "|";
1185             padding: 0 .2em;
1186         }
1187
1188         &:last-child {
1189             &::after {
1190                 content: "";
1191             }
1192         }
1193     }
1194 }
1195
1196 #views {
1197     margin-bottom: .5em;
1198     padding: 0 2em .2em .2em;
1199 }
1200
1201 .view {
1202     background-color: #F0F3F3;
1203     border: 1px solid #C9C9C9;
1204     border-radius: 4px;
1205     color: #727272;
1206     display: inline-block;
1207     margin-right: .4em;
1208
1209     a,
1210     span {
1211         display: inline-block;
1212         font-size: 87%;
1213         font-size: 14px;
1214         font-weight: normal;
1215         line-height: 20px;
1216         margin-bottom: 0;
1217         padding: 4px 12px;
1218         text-align: center;
1219         text-decoration: none;
1220         vertical-align: middle;
1221     }
1222 }
1223
1224 #bibliodescriptions,
1225 #isbdcontents {
1226     clear: left;
1227     margin-top: .5em;
1228 }
1229
1230 .current-view {
1231     background-color: #FFF;
1232     font-weight: bold;
1233 }
1234
1235 .results-pagination {
1236     background-color: #F3F3F3;
1237     display: none;
1238     padding-bottom: 10px;
1239 }
1240
1241 .close_pagination {
1242     display: none;
1243 }
1244
1245 .back {
1246     float: right;
1247
1248     input {
1249         background: none !important;
1250         color: #999 !important;
1251     }
1252 }
1253
1254 .pagination_list {
1255     ul {
1256         margin: 0;
1257         padding: 0;
1258     }
1259
1260     li {
1261         border-top: 1px solid #DDDDDD;
1262         color: #999;
1263         font-size: 90%;
1264         list-style: none;
1265         padding: 4px;
1266
1267         &.highlight {
1268             background-color: #DDDDDD;
1269         }
1270
1271         a {
1272             padding-left: 0;
1273         }
1274     }
1275
1276     .li_pag_index {
1277         color: #636363;
1278         font-size: 90%;
1279         font-weight: bold;
1280         padding-right: 10px;
1281         text-align: right;
1282         width: 13px;
1283     }
1284 }
1285
1286 .pagination_footer {
1287     background-color: #E1E1E1;
1288     text-align: center;
1289
1290     .close_pagination {
1291         display: none;
1292     }
1293 }
1294
1295 .l_Results {
1296     background-color: #E1E1E1;
1297
1298     .close_pagination {
1299         float: right;
1300         padding: 8px 12px;
1301     }
1302 }
1303
1304 .nav_results {
1305     border: 1px solid #D0D0D0;
1306     font-size: 95%;
1307     font-weight: bold;
1308     margin-top: .5em;
1309     position: relative;
1310 }
1311
1312 #a_listResults {
1313     color: #006699;
1314     display: inline-block;
1315     padding: 8px 28px;
1316     text-decoration: none;
1317 }
1318
1319 .pg_menu {
1320     background-color: #F3F3F3;
1321     border-top: 1px solid #D0D0D0;
1322     display: flex;
1323     margin: 0;
1324     white-space: nowrap;
1325
1326     .pg_link {
1327         color: #B2B2B2;
1328         flex-grow: 1;
1329         list-style: none;
1330         margin: 0;
1331
1332         &.back_results {
1333             a {
1334                 border-left: 1px solid #D0D0D0;
1335                 border-right: 1px solid #D0D0D0;
1336             }
1337         }
1338
1339         a,
1340         span {
1341             background-color: #F3F3F3;
1342             display: block;
1343             font-weight: normal;
1344             padding: .4em .5em;
1345             text-align: center;
1346         }
1347
1348         span {
1349             color: #B2B2B2;
1350         }
1351     }
1352 }
1353
1354 #listResults {
1355     li {
1356         color: #C5C5C5;
1357         display: inline-block;
1358         font-size: 80%;
1359         font-weight: normal;
1360         padding: 0;
1361         text-align: center;
1362
1363         a {
1364             background-color: #999999;
1365             color: #FFFFFF;
1366             display: block;
1367             font-weight: normal;
1368             min-width: 18px;
1369             text-decoration: none;
1370
1371             &:hover {
1372                 background-color: #006699;
1373             }
1374         }
1375
1376         .highlight {
1377             a {
1378                 background-color: #616161;
1379             }
1380         }
1381     }
1382 }
1383
1384 /* nav */
1385
1386 nav {
1387     &.libraries {
1388         li {
1389             list-style-type: none;
1390             padding: .3em .5em;
1391
1392             a {
1393                 display: block;
1394             }
1395         }
1396
1397         i.fa {
1398             color: #7CBC0F;
1399         }
1400
1401         .fa-li {
1402             top: unset;
1403         }
1404     }
1405
1406     &.breadcrumb {
1407         background-color: #F0F3F3;
1408         border-radius: 0;
1409         font-size: 85%;
1410         margin: 15px;
1411         padding: 5px 10px;
1412
1413         [aria-current="page"] {
1414             color: #000;
1415             font-weight: 700;
1416             text-decoration: none;
1417         }
1418     }
1419
1420     .pagination {
1421         margin: 0;
1422     }
1423 }
1424
1425 .nav_pages {
1426     border-top: 1px solid #DDD;
1427     padding: .6em;
1428
1429     ul {
1430         display: inline-block;
1431         margin: 0;
1432         padding: 0;
1433     }
1434
1435     li {
1436         color: #999;
1437         list-style: none;
1438         padding: 4px;
1439
1440         a {
1441             &:hover {
1442                 text-decoration: underline;
1443             }
1444         }
1445     }
1446 }
1447
1448 /* action buttons */
1449 #action {
1450     background-color: #F5F5F5;
1451     border: 1px solid #E8E8E8;
1452     margin: .5em 0 0 0;
1453     padding: .5em;
1454
1455     li {
1456         list-style: none;
1457     }
1458
1459     a {
1460         color: darken( $links, 5% );
1461         font-weight: bold;
1462         text-align: left;
1463         text-decoration: none;
1464     }
1465 }
1466
1467 #export,
1468 #moresearches_menu {
1469     li {
1470         margin: 0;
1471         padding: 0;
1472
1473         a {
1474             font-weight: normal;
1475
1476             &.menu-inactive {
1477                 font-weight: bold;
1478             }
1479         }
1480     }
1481
1482     .dropdown-header {
1483         border-bottom: 1px solid #EEE;
1484         border-top: 0;
1485     }
1486
1487     .dropdown-menu a {
1488         border: 0;
1489         clear: both;
1490         display: block;
1491         padding: .25rem 1.5rem;
1492         text-align: inherit;
1493         white-space: nowrap;
1494         width: 100%;
1495     }
1496 }
1497
1498 .hint {
1499     color: #727272;
1500     font-size: 90%;
1501 }
1502
1503 .links {
1504     flex-grow: 1;
1505
1506     a {
1507         font-weight: bold;
1508     }
1509 }
1510
1511 #tagslist {
1512     padding-left: 0;
1513
1514     li {
1515         display: inline;
1516     }
1517 }
1518
1519 #tagsel_form input,
1520 .tag_results_input input {
1521     margin: 0 2px;
1522 }
1523
1524 .branch-info-tooltip {
1525     display: none;
1526 }
1527
1528 .ui-tooltip-content p {
1529     margin: .3em 0;
1530 }
1531
1532 #social_networks {
1533     margin-top: .5em;
1534
1535     a {
1536         border: 1px solid transparent;
1537         border-radius: 4px;
1538         display: inline-block;
1539         min-width: 1em;
1540         padding: .5em;
1541         text-align: center;
1542     }
1543
1544     a:hover,
1545     a:active {
1546         border: 1px solid #EEE;
1547     }
1548
1549     span {
1550         color: #274D7F;
1551         display: block;
1552         float: left;
1553         font-size: 85%;
1554         font-weight: bold;
1555         line-height: 2em;
1556         margin: .5em;
1557     }
1558
1559     div {
1560         float: left;
1561     }
1562
1563     #facebook {
1564         color: #4267B2;
1565     }
1566
1567     #twitter {
1568         color: #1DA1F2;
1569     }
1570
1571     #linkedin {
1572         color: #0073B0;
1573     }
1574
1575     #email {
1576         color: #666;
1577     }
1578 }
1579
1580 #marc {
1581     td,
1582     th {
1583         background-color: transparent;
1584         border: 0;
1585         padding: 3px 5px;
1586         text-align: left;
1587     }
1588
1589     td:first-child {
1590         text-indent: 2em;
1591     }
1592
1593     p {
1594         padding-bottom: .6em;
1595
1596         .label {
1597             font-weight: bold;
1598         }
1599     }
1600
1601     ul {
1602         padding-bottom: .6em;
1603     }
1604
1605     .results_summary {
1606         clear: left;
1607
1608         ul {
1609             clear: none;
1610             display: inline;
1611             float: none;
1612             list-style: none;
1613             margin: 0;
1614             padding: 0;
1615         }
1616
1617         li {
1618             display: inline;
1619         }
1620     }
1621 }
1622
1623 #items,
1624 #items td,
1625 #items th {
1626     border: 1px solid #EEE;
1627     font-size: 90%;
1628 }
1629
1630 .patronimage {
1631     float: right;
1632     margin-left: 1em;
1633 }
1634
1635 #plainmarc {
1636     table {
1637         border: 0;
1638         font-family: monospace;
1639         font-size: 95%;
1640         margin: .7em 0 0;
1641     }
1642
1643     th {
1644         background-color: #FFF;
1645         border: 0;
1646         padding: 2px;
1647         text-align: left;
1648         vertical-align: top;
1649         white-space: nowrap;
1650     }
1651
1652     td {
1653         border: 0;
1654         padding: 2px;
1655         vertical-align: top;
1656     }
1657 }
1658
1659 #renewcontrols {
1660     float: right;
1661     font-size: 66%;
1662 }
1663
1664 #renewall_link {
1665     i:first-child {
1666         left: 9px;
1667     }
1668 }
1669
1670 .authref {
1671     text-indent: 2em;
1672
1673     .label {
1674         font-style: italic;
1675     }
1676 }
1677
1678 .authstanza {
1679     margin-top: 1em;
1680
1681     li {
1682         margin-left: .5em;
1683     }
1684 }
1685
1686 .authstanzaheading {
1687     font-weight: bold;
1688 }
1689
1690 .authorizedheading {
1691     font-weight: bold;
1692 }
1693
1694 .authres_notes,
1695 .authres_seealso,
1696 .authres_otherscript {
1697     padding-top: .5em;
1698 }
1699
1700 .authres_notes {
1701     font-style: italic;
1702 }
1703
1704 #daily-quote {
1705     margin-bottom: 1em;
1706 }
1707
1708 #didyoumean {
1709     @include border-radius-all( 3px );
1710
1711     background-color: #EEE;
1712     border: 1px solid #E8E8E8;
1713     box-sizing: border-box;
1714     margin: .5em 1.5em;
1715     padding: .5em;
1716     text-align: left;
1717
1718     &.dym-loaded {
1719         background-color: #FFFBEA;
1720         border-color: #F4ECBE;
1721     }
1722 }
1723
1724 .suggestionlabel {
1725     font-weight: bold;
1726 }
1727
1728 .searchsuggestion {
1729     display: inline-block;
1730     padding: .2em .5em;
1731 }
1732
1733 .authlink {
1734     padding-left: .25em;
1735 }
1736
1737 #hierarchies {
1738     margin-bottom: 1em;
1739
1740     a {
1741         color: #069;
1742         font-weight: normal;
1743         text-decoration: underline;
1744
1745         &.jstree-anchor {
1746             &.jstree-hovered {
1747                 background: transparent none;
1748                 box-shadow: none;
1749                 color: #005580;
1750             }
1751
1752             &.jstree-clicked {
1753                 background: transparent none;
1754                 border: 0;
1755                 box-shadow: none;
1756             }
1757         }
1758     }
1759 }
1760
1761 #cartDetails {
1762     background-color: #FFF;
1763     border: 1px solid rgba( 0, 0, 0, .2 );
1764     border-radius: 6px;
1765     box-shadow: 0 5px 10px rgba( 0, 0, 0, .2 );
1766     color: #000;
1767     display: none;
1768     font-size: 90%;
1769     left: 50px;
1770     margin: 0;
1771     padding: 8px 20px;
1772     position: fixed;
1773     text-align: center;
1774     top: 50px;
1775     width: 180px;
1776     z-index: 10;
1777 }
1778
1779 #cartmenulink {
1780     white-space: nowrap;
1781 }
1782
1783 #search-facets {
1784     border: 1px solid #D2D2CF;
1785
1786     ul {
1787         margin: 0;
1788         padding: .3em;
1789     }
1790
1791     form {
1792         margin: 0;
1793     }
1794
1795     h2 {
1796         font-size: 90%;
1797         margin: 0 0 .6em 0;
1798         text-align: center;
1799
1800         a {
1801             background-color: #F0F3F3;
1802             border-bottom: 1px solid #D8D8D8;
1803             display: block;
1804             font-weight: bold;
1805             padding: .7em .2em;
1806         }
1807     }
1808
1809     h3 {
1810         font-size: 80%;
1811     }
1812
1813     li {
1814         font-size: 90%;
1815         font-weight: bold;
1816         list-style-type: none;
1817
1818         li {
1819             font-size: 95%;
1820             font-weight: normal;
1821             line-height: 125%;
1822             margin-bottom: 2px;
1823             padding: .1em .2em;
1824         }
1825
1826         &.showmore {
1827             a {
1828                 font-weight: bold;
1829                 text-indent: 1em;
1830             }
1831         }
1832     }
1833
1834     a {
1835         font-weight: normal;
1836     }
1837
1838     .facet-count {
1839         display: inline-block;
1840     }
1841 }
1842
1843 #menu {
1844     font-size: 94%;
1845
1846     ul {
1847         padding-left: 0;
1848     }
1849
1850     li {
1851         list-style-type: none;
1852
1853         &:last-child {
1854             a {
1855                 border-bottom-width: 1px;
1856             }
1857         }
1858
1859         &.active {
1860             a {
1861                 background-color: #FFF;
1862                 border-top: 1px solid #999;
1863             }
1864         }
1865
1866         a {
1867             background-color: #F0F3F3;
1868             border: 1px solid #D8D8D8;
1869             border-bottom-width: 0;
1870             color: darken( $links, 5% );
1871             display: block;
1872             margin: 0;
1873             padding: .4em .6em;
1874             text-decoration: none;
1875         }
1876     }
1877 }
1878
1879 #addto {
1880     display: inline-block;
1881     max-width: 10em;
1882 }
1883
1884 /* Search results add to cart (lists disabled) */
1885
1886 .searchresults {
1887     p {
1888         margin: 0;
1889         padding: 0 0 .6em 0;
1890
1891         &.details {
1892             color: #979797;
1893         }
1894     }
1895
1896     .commentline {
1897         @include border-radius-all( 3px );
1898         @include shadowed;
1899
1900         background-color: rgba( 255, 255, 204, .4 );
1901         border: 1px solid #CCC;
1902         display: inline-block;
1903         margin: .3em;
1904         padding: .4em;
1905
1906         .yours {
1907             background-color: rgba( 239, 254, 213, .4 );
1908         }
1909     }
1910
1911     .commenter {
1912         color: #666;
1913         font-size: 85%;
1914     }
1915 }
1916
1917 .commentline .avatar {
1918     float: right;
1919     padding-left: .5em;
1920 }
1921
1922 /* style for search terms in catalogsearch */
1923 .term {
1924     /* color: blue; */
1925     background-color: #FFFFCC;
1926     color: #990000;
1927 }
1928
1929 /* style for shelving location in catalogsearch */
1930 .shelvingloc {
1931     display: block;
1932     font-style: italic;
1933 }
1934
1935 .sep {
1936     color: #888;
1937     padding: 0 .2em 0 .5em;
1938     text-shadow: 1px 1px 0 #FFF;
1939 }
1940
1941 %page-first-child {
1942     border-bottom-left-radius: 3px;
1943     border-top-left-radius: 3px;
1944     border-width: 1px;
1945 }
1946
1947 %page-last-child {
1948     border-bottom-right-radius: 3px;
1949     border-top-right-radius: 3px;
1950     border-width: 1px 1px 1px 0;
1951 }
1952
1953 %page-middle-child {
1954     background-color: #FFFFFF;
1955     border-color: #DDDDDD;
1956     border-image: none;
1957     border-style: solid;
1958     border-width: 1px 1px 1px 0;
1959     float: left;
1960     font-size: 11.9px;
1961     line-height: 20px;
1962     padding: 4px 12px;
1963     text-decoration: none;
1964 }
1965
1966 .pages {
1967     margin: 20px 0;
1968
1969     span {
1970         &:first-child {
1971             @extend %page-first-child;
1972         }
1973
1974         &:last-child {
1975             @extend %page-last-child;
1976         }
1977     }
1978
1979     a {
1980         @extend %page-middle-child;
1981
1982         &:first-child {
1983             @extend %page-first-child;
1984         }
1985
1986         &:last-child {
1987             @extend %page-last-child;
1988         }
1989     }
1990
1991     .inactive {
1992         @extend %page-middle-child;
1993
1994         background-color: #F5F5F5;
1995     }
1996
1997     .currentPage {
1998         @extend %page-middle-child;
1999     }
2000
2001     a[rel="last"] {
2002         border-bottom-right-radius: 3px;
2003         border-top-right-radius: 3px;
2004     }
2005 }
2006
2007 .hold-message {
2008     @include border-radius-all( 3px );
2009
2010     background-color: #FFF0B1;
2011     display: inline-block;
2012     margin: .5em;
2013     padding: .2em .5em;
2014 }
2015
2016 .reserve_date,
2017 .expiration_date {
2018     white-space: nowrap;
2019 }
2020
2021 #login {
2022     max-width: 300px;
2023 }
2024
2025 #loginModal {
2026     input {
2027         box-sizing: border-box;
2028         display: block;
2029         font-size: 150%;
2030         height: auto;
2031         padding: .4em;
2032         width: 100%;
2033
2034         &[type="submit"] {
2035             font-size: 100%;
2036             padding: .5em;
2037             transition: background-color .5s ease;
2038
2039             &:hover {
2040                 background: #77B50F none;
2041             }
2042         }
2043     }
2044
2045     .closebtn {
2046         color: #C00;
2047         opacity: 1;
2048
2049         &:hover {
2050             opacity: .4;
2051         }
2052     }
2053
2054     .modal-header,
2055     .modal-body,
2056     .modal-footer {
2057         font-size: 120%;
2058         padding: 1em 2em;
2059     }
2060 }
2061
2062 .nologininstructions,
2063 .forgotpassword,
2064 .patronregistration {
2065     padding-top: 1em;
2066 }
2067
2068 .registration-label {
2069     display: inline-block;
2070     font-weight: bold;
2071     padding: 5px;
2072 }
2073
2074 .registration-value {
2075     background-color: #EBF8FF;
2076     border-radius: 5px;
2077     display: inline-block;
2078     font-family: monospace;
2079     padding: 5px 10px;
2080 }
2081
2082 .btn-group {
2083     label,
2084     select {
2085         font-size: 13px;
2086     }
2087 }
2088
2089 .item-status {
2090     display: block;
2091     font-size: 95%;
2092     margin-bottom: .5em;
2093 }
2094
2095 .available {
2096     color: #006600;
2097 }
2098
2099 .unavailable {
2100     color: #990033;
2101 }
2102
2103 .ItemSummary .LabelCallNumber::before {
2104     content: " [";
2105 }
2106
2107 .ItemSummary .CallNumber::after {
2108     content: "]";
2109 }
2110
2111 .waiting,
2112 .intransit,
2113 .notforloan,
2114 .checkedout,
2115 .lost,
2116 .notonhold {
2117     display: block;
2118 }
2119
2120 .notforloan {
2121     color: #900;
2122 }
2123
2124 .lost {
2125     color: #666;
2126 }
2127
2128 .suggestion {
2129     background-color: #F0F3F3;
2130     border: 1px solid #F0F3F3;
2131     color: $high-contrast-grey;
2132     margin: 1em auto;
2133     padding: .5em;
2134     width: 35%;
2135 }
2136
2137 .transl1 {
2138     width: 100%;
2139 }
2140
2141 #user-menu-trigger {
2142     display: none;
2143
2144     i {
2145         padding: 14px 0 0;
2146         width: 14px;
2147     }
2148
2149     .caret {
2150         border-bottom-color: #999999;
2151         border-top-color: #999999;
2152         margin-top: 18px;
2153     }
2154 }
2155
2156 /* Class to be added to toolbar when it starts being fixed at the top of the screen */
2157 .floating {
2158     box-shadow: 0 3px 2px 0 rgba( 0, 0, 0, .4 );
2159     margin-top: 0;
2160     z-index: 5;
2161 }
2162
2163 .tdlabel {
2164     display: none;
2165     font-weight: bold;
2166 }
2167
2168 #ulactioncontainer {
2169     min-width: 16em;
2170 }
2171
2172 .notesrow {
2173     label {
2174         font-weight: bold;
2175     }
2176
2177     span {
2178         display: block;
2179     }
2180 }
2181
2182 .thumbnail-shelfbrowser span {
2183     margin: 0 auto;
2184 }
2185
2186 .table-bordered {
2187     border-radius: 0;
2188
2189     thead:first-child tr:first-child > th {
2190         &:last-child {
2191             border-radius: 0;
2192         }
2193
2194         &:first-child {
2195             border-radius: 0;
2196         }
2197     }
2198
2199     tbody:last-child tr:last-child > td {
2200         &:last-child {
2201             border-radius: 0;
2202         }
2203
2204         &:first-child {
2205             border-radius: 0;
2206         }
2207     }
2208 }
2209
2210 .tags,
2211 .shelves {
2212     ul {
2213         display: inline-block;
2214         list-style: none;
2215         margin: 0;
2216         padding: 0;
2217
2218         li {
2219             display: inline;
2220         }
2221     }
2222 }
2223
2224 .coverimages {
2225     float: right;
2226 }
2227
2228 #termsList {
2229     label {
2230         display: inline;
2231         vertical-align: middle;
2232     }
2233
2234     ul {
2235         border-bottom: 1px solid #EEE;
2236         list-style-type: none;
2237         margin: 0;
2238         padding: .6em 0;
2239     }
2240
2241     li {
2242         list-style-type: none;
2243         margin: 0;
2244         padding: 0;
2245     }
2246 }
2247
2248 #overdrive-results,
2249 #recordedbooks-results,
2250 #openlibrary-results {
2251     font-weight: bold;
2252     padding-left: 1em;
2253 }
2254
2255 .throbber {
2256     vertical-align: middle;
2257 }
2258
2259 #overdrive-results-list .star-rating-control {
2260     display: block;
2261     overflow: auto;
2262 }
2263
2264 #holdingst {
2265     table-layout: fixed;
2266
2267     td {
2268         overflow-wrap: break-word;
2269     }
2270 }
2271
2272 #shelfbrowser {
2273     table {
2274         margin: 0;
2275     }
2276
2277     table,
2278     td,
2279     th {
2280         border: 0;
2281         font-size: 90%;
2282         text-align: center;
2283     }
2284
2285     td,
2286     th {
2287         padding: 3px 5px;
2288         width: 20%;
2289
2290         &.nav-cell {
2291             padding: 0;
2292             vertical-align: middle;
2293             width: 1em;
2294         }
2295     }
2296
2297     a {
2298         display: block;
2299         font-size: 110%;
2300         font-weight: bold;
2301         text-decoration: none;
2302
2303         &.shelfbrowser_cover {
2304             display: inline-block;
2305             min-height: 80px;
2306             min-width: 80px;
2307         }
2308     }
2309
2310     #browser_previous {
2311         a {
2312             transform: rotate( -90deg );
2313             white-space: nowrap;
2314
2315             i {
2316                 padding: 0 .5em;
2317             }
2318         }
2319     }
2320
2321     #browser_next {
2322         a {
2323             transform: rotate( 90deg );
2324             white-space: nowrap;
2325
2326             i {
2327                 padding: 0 .5em;
2328             }
2329         }
2330     }
2331 }
2332
2333 #holds {
2334     margin: 0 auto;
2335     max-width: 800px;
2336 }
2337
2338 .holdrow {
2339     border-bottom: 1px solid #CCC;
2340     clear: both;
2341     margin-bottom: .5em;
2342     padding: 0 1em 1em 1em;
2343
2344     fieldset {
2345         border: 0;
2346         float: none;
2347         margin: 0;
2348
2349         .label {
2350             font-size: 14px;
2351         }
2352     }
2353
2354     label {
2355         display: inline;
2356     }
2357 }
2358
2359 .hold-options {
2360     clear: both;
2361 }
2362
2363 .toggle-hold-options {
2364     background-color: #EEE;
2365     clear: both;
2366     display: block;
2367     font-weight: bold;
2368     margin: 1em 0;
2369     padding: .5em;
2370 }
2371
2372 .copiesrow {
2373     clear: both;
2374 }
2375
2376 #idreambooksreadometer {
2377     float: right;
2378 }
2379
2380 .idreambookslegend {
2381     font-size: small;
2382 }
2383
2384 .idreambookssummary {
2385     a {
2386         color: #707070;
2387         text-decoration: none;
2388     }
2389
2390     img {
2391         vertical-align: middle;
2392     }
2393 }
2394
2395 .idbresult {
2396     color: #29ADE4;
2397     margin: .5em;
2398     padding: .5em;
2399     text-align: center;
2400
2401     img {
2402         padding-right: 6px;
2403         vertical-align: middle;
2404     }
2405
2406     a,
2407     a:visited {
2408         color: #29ADE4;
2409         text-decoration: none;
2410     }
2411 }
2412
2413 .js-show {
2414     display: none;
2415 }
2416
2417 .modal-nojs {
2418     .modal-header,
2419     .modal-footer {
2420         display: none;
2421     }
2422 }
2423
2424 .contents {
2425     width: 75%;
2426
2427     .newline::after {
2428         content: "\A â†’ ";
2429         white-space: pre;
2430     }
2431
2432     .t {
2433         display: inline;
2434         font-weight: bold;
2435     }
2436
2437     .r {
2438         display: inline;
2439     }
2440 }
2441
2442 .contentblock {
2443     font-size: 95%;
2444     line-height: 135%;
2445     margin-left: 2em;
2446
2447     :first-child:not( .term )::before {
2448         content: "→ ";
2449     }
2450 }
2451
2452 .m880 {
2453     display: block;
2454     float: right;
2455     padding-left: 20px;
2456     text-align: right;
2457     width: 50%;
2458 }
2459
2460 #memberentry-form {
2461     input.error {
2462         border-color: #C00;
2463         outline: 0 none;
2464
2465         &:focus {
2466             border-color: #C00;
2467             box-shadow: inset 0 1px 1px rgba( 0, 0, 0, .075 ), 0 0 8px rgba( 204, 0, 0, .6 );
2468             outline: 0 none;
2469         }
2470
2471         label.error {
2472             color: #C00;
2473             float: none;
2474             font-size: 90%;
2475         }
2476     }
2477 }
2478
2479 #illrequests {
2480     .illrequest-actions {
2481         margin-bottom: 20px;
2482         padding-top: 20px;
2483
2484         .btn,
2485         .cancel {
2486             margin-right: 5px;
2487         }
2488     }
2489
2490     #illrequests-create-button {
2491         margin-bottom: 20px;
2492     }
2493
2494     .bg-info {
2495         overflow: auto;
2496         position: relative;
2497
2498         #search-summary {
2499             position: absolute;
2500             top: 50%;
2501             transform: translateY( -50% );
2502         }
2503     }
2504
2505     #freeform-fields .custom-name {
2506         float: left;
2507         margin-right: 1em;
2508         text-align: right;
2509         width: 8em;
2510     }
2511
2512     .dropdown:hover .dropdown-menu.nojs {
2513         display: block;
2514     }
2515
2516     div.rows span.label {
2517         float: inherit;
2518         margin-right: 0;
2519         text-align: inherit;
2520         width: inherit;
2521     }
2522
2523     #ill-supplier-metadata {
2524         display: flex;
2525         flex: 1 1 auto;
2526         flex-flow: column nowrap;
2527     }
2528
2529     div[class^="requestattr-"] {
2530         display: flex;
2531         flex-flow: row nowrap;
2532         padding: 5px;
2533         width: 100%;
2534
2535         &:nth-of-type( even ) {
2536             background-color: #F2F2F2;
2537         }
2538
2539         &:nth-of-type( odd ) {
2540             background-color: #FFFFFF;
2541         }
2542     }
2543
2544     #ill-supplier-metadata > div > span {
2545         display: flex;
2546         flex-basis: 0;
2547         flex-flow: row nowrap;
2548         flex-grow: 1;
2549     }
2550 }
2551
2552 .ill_availability_sourcename {
2553     margin-top: 20px;
2554 }
2555
2556 #continue-request-row {
2557     text-align: center;
2558 }
2559
2560 #dc_fieldset {
2561     border: 1px solid #DDDDDD;
2562     border-radius: 10px;
2563     border-width: 1px;
2564     padding: 5px;
2565 }
2566
2567 .label_dc {
2568     cursor: pointer;
2569     display: inline;
2570     margin: 0;
2571     padding: 0;
2572 }
2573
2574 .btn-danger {
2575     color: #FFF !important;
2576 }
2577
2578 .count_label {
2579     $base: #369;
2580
2581     background-color: $base;
2582     border-radius: 5px;
2583     color: #FFF;
2584     display: inline-block;
2585     font-weight: bold;
2586     min-width: 1.5em;
2587     padding: .2em;
2588     text-align: center;
2589     text-shadow: 0 -1px 0 rgba( 0, 0, 0, .25 );
2590
2591     &:hover {
2592         background-color: lighten( $base, 20% );
2593     }
2594 }
2595
2596 .user_overdues_count,
2597 .user_fines_count {
2598     background-color: #990000;
2599
2600     &:hover {
2601         background-color: lighten( #990000, 10% );
2602     }
2603 }
2604
2605 .user_holds_waiting_count {
2606     background-color: #538200;
2607
2608     &:hover {
2609         background-color: lighten( #538200, 10% );
2610     }
2611 }
2612
2613 #user_summary {
2614     border: 1px solid #EAEAE6;
2615     margin-bottom: 1em;
2616     padding-bottom: .5em;
2617
2618     h2 {
2619         background-color: #E2E8E8;
2620         color: $high-contrast-grey;
2621         font-size: 1.1rem;
2622         margin-top: 0;
2623         padding: 5px;
2624         text-align: center;
2625     }
2626
2627     ul {
2628         list-style-type: none;
2629         margin: 0;
2630         padding: 0;
2631
2632         a {
2633             display: block;
2634             font-weight: bold;
2635             padding: .2em 15px;
2636         }
2637     }
2638 }
2639
2640 /* jQuery Bar Rating plugin for star ratings */
2641
2642 $star-default: #D2D2D2;
2643 $star-active: #C24A4A;
2644 $star-selected: #EDB867;
2645
2646 .br-wrapper {
2647     display: inline-block;
2648 }
2649
2650 .br-theme-fontawesome-stars {
2651     .br-widget {
2652         height: 28px;
2653         white-space: nowrap;
2654
2655         a {
2656             font: normal normal normal 20px/1 FontAwesome;
2657             -webkit-font-smoothing: antialiased;
2658             margin-right: 2px;
2659             text-decoration: none;
2660             text-rendering: auto;
2661
2662             &::after {
2663                 color: $star-default;
2664                 content: "\f005";
2665             }
2666
2667             &.br-active {
2668                 &::after {
2669                     color: $star-active;
2670                 }
2671             }
2672
2673             &.br-selected {
2674                 &::after {
2675                     color: $star-selected;
2676                 }
2677             }
2678         }
2679
2680         .br-current-rating {
2681             display: none;
2682         }
2683     }
2684
2685     .br-readonly {
2686         a {
2687             cursor: default;
2688         }
2689     }
2690 }
2691
2692 #cancel_rating_text {
2693     a {
2694         color: #C24A4A;
2695     }
2696 }
2697
2698 @media print {
2699     .br-theme-fontawesome-stars {
2700         .br-widget {
2701             a {
2702                 &::after {
2703                     color: #000000;
2704                     content: "\f006";
2705                 }
2706
2707                 &.br-active::after,
2708                 &.br-selected::after {
2709                     color: #000000;
2710                     content: "\f005";
2711                 }
2712             }
2713         }
2714     }
2715 }
2716
2717 /* END jQuery Bar Rating plugin for star ratings */
2718
2719 #qrcode {
2720     margin-left: 35px;
2721
2722     img,
2723     canvas {
2724         margin-top: 1em;
2725     }
2726 }
2727
2728 /* opac browse search */
2729
2730 #browse-resultswrapper {
2731     margin-top: 15px;
2732 }
2733
2734 #browse-searchfuzziness {
2735     padding: 15px 0;
2736 }
2737
2738 #browse-searchresults,
2739 #browse-selectionsearch {
2740     border: 1px solid #E3E3E3;
2741     border-radius: 4px;
2742     margin-bottom: 2em;
2743     padding: 0;
2744 }
2745
2746 #browse-selectionsearch p.subjects {
2747     font-size: .9em;
2748     margin-bottom: 0;
2749 }
2750
2751 #browse-selectionsearch h4 {
2752     margin: 0;
2753 }
2754
2755 #browse-suggestionserror {
2756     margin-top: 1rem;
2757 }
2758
2759 #browse-search {
2760     .loading {
2761         text-align: center;
2762
2763         img {
2764             left: -5px;
2765             margin: .5em 0;
2766             position: relative;
2767         }
2768     }
2769 }
2770
2771 #card_template {
2772     display: none;
2773 }
2774
2775 .result-title {
2776     margin-bottom: .4rem;
2777     margin-left: 1rem;
2778 }
2779
2780 /* end browse search */
2781
2782 /* Skip to content link. CSS adapted from https://webaim.org/ */
2783 #scrolltocontent {
2784     background: #C60000;
2785     border: 1px solid #FFF;
2786     border-radius: 0 0 4px 0;
2787     border-width: 0 1px 1px 0;
2788     color: #FFF;
2789     left: 0;
2790     padding: 6px 12px;
2791     position: absolute;
2792     text-decoration: none;
2793     text-shadow: 0 -1px 0 rgba( 58, 0, 0, .75 );
2794     top: -40px;
2795     transition: top .5s ease-out;
2796     z-index: 100;
2797
2798     &:focus {
2799         left: 0;
2800         outline-color: transparent;
2801         position: absolute;
2802         top: 0;
2803         transition: top .1s ease-in;
2804     }
2805 }
2806
2807 .accordion {
2808     .card-header {
2809         padding: 0;
2810
2811         a {
2812             display: block;
2813             padding: .75rem 1.25rem;
2814
2815             &[aria-expanded="true"] { font-weight: bold; }
2816             &[aria-expanded="false"] { font-weight: normal; }
2817
2818             &:hover {
2819                 background-color: rgba( 255, 255, 204, .8 );
2820                 text-decoration: none;
2821             }
2822         }
2823     }
2824
2825     .collapse {
2826         &.show {
2827             border-top: 1px solid #888;
2828         }
2829     }
2830 }
2831
2832 .branchaddress {
2833     margin-bottom: 1rem;
2834 }
2835
2836 #openid_connect {
2837     background-color: #FFF;
2838     border: 1px solid #AAA;
2839     box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, .2 );
2840     margin: .5em 0;
2841
2842     i {
2843         color: #B53329;
2844         margin: 0 .5em;
2845     }
2846 }
2847
2848 @import "responsive";