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