Bug 21751: Replace fixFloat with HC-sticky to fix Chrome display
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / css / src / staff-global.scss
1 @import url("../../lib/yui/reset-fonts-grids.css") screen;
2
3 $font-main: Arial, Verdana, Helvetica, sans-serif;
4 $font-monospace: "Courier New", Courier, monospace;
5 $language-footer-min-height: 20px;
6
7 @mixin default-button {
8     background: linear-gradient(to bottom, #FFFFFF 0%, #F7F7F7 35%, #E0E0E0 100%);
9     border: 1px outset #999999;
10     border-left-color: #666;
11     border-top-color: #666;
12     color: #333333;
13     padding: .25em;
14 }
15
16 @mixin disabled-button {
17     background: #EEE none;
18     border: 1px solid #C0C0C0;
19     color: #999;
20 }
21
22 ::selection {
23     background: #538200;
24     color: #FFFFFF;
25 }
26
27 a {
28     &:link,
29     &:visited {
30         color: #004D99;
31         text-decoration: none;
32     }
33
34     &:hover,
35     &:active {
36         color: #538200;
37         text-decoration: none;
38     }
39
40     &:hover {
41         .term {
42             color: #FF9090;
43         }
44     }
45
46     &.btn {
47         &:link,
48         &:visited {
49             color: #333333;
50         }
51
52         &.btn-link {
53             &:link,
54             &:visited {
55                 color: #004D99;
56             }
57
58             &:hover {
59                 color: #538200;
60             }
61         }
62     }
63
64     &.cancel {
65         padding-left: 1em;
66     }
67
68     &.cartRemove {
69         color: #CC3333;
70         font-size: 90%;
71         margin: 0;
72         padding: 0;
73     }
74
75     &.close {
76         &:hover {
77             color: #538200;
78         }
79     }
80
81
82     &.csv {
83         background-image: url("../img/famfamfam/silk/page_white_excel.png");
84     }
85
86     &.dropdown-toggle {
87         white-space: nowrap;
88     }
89
90     &.incart {
91         color: #666;
92     }
93
94     &.popup {
95         background: transparent url("../img/pop-up-link.png") center right no-repeat;
96         padding-right: 15px;
97     }
98
99     &.disabled {
100         color: #999999;
101     }
102
103     &.document {
104         background-position: left middle;
105         background-repeat: no-repeat;
106         display: inline-block;
107         min-height: 20px;
108         padding-left: 20px;
109     }
110
111     &.highlight_toggle {
112         display: none;
113     }
114
115     .localimage {
116         img {
117             border: 1px solid #0000CC;
118             margin: 0 .5em;
119             padding: .3em;
120         }
121     }
122
123     &.pdf {
124         background-image: url("../img/famfamfam/silk/page_white_acrobat.png");
125     }
126
127     &.submit {
128         @include default-button;
129         display: inline-block;
130
131         &:active {
132             border: 1px inset #999999;
133         }
134
135         &:disabled {
136             @include disabled-button;
137         }
138     }
139
140     &.term {
141         text-decoration: underline;
142     }
143
144     &.xml {
145         background-image: url("../img/famfamfam/silk/page_white_code.png");
146     }
147
148 }
149
150 aside {
151     h5 {
152         font-size: 100%;
153         margin: .5em 0;
154     }
155
156     fieldset {
157         &.brief {
158             margin: 0;
159             padding: .4em .7em;
160
161             fieldset {
162                 margin: 0;
163                 padding: .5em 0;
164
165                 legend {
166                     font-size: 85%;
167                 }
168             }
169
170             li {
171                 &.checkbox {
172                     label {
173                         display: inline;
174                     }
175                 }
176
177                 &.dateinsert {
178                     label {
179                         display: inline;
180                     }
181
182                     span {
183                         &.label {
184                             display: inline;
185                         }
186                     }
187                 }
188
189                 &.radio {
190                     padding: .7em 0;
191
192                     input {
193                         padding: .3em 0;
194                     }
195
196                     label {
197                         display: inline;
198                     }
199
200                     span {
201                         &.label {
202                             display: inline;
203                         }
204                     }
205                 }
206             }
207
208             ol {
209                 font-size: 85%;
210                 margin: 0;
211                 padding: 0;
212             }
213
214             select,
215             [type="text"] {
216                 width: 100%;
217             }
218         }
219     }
220 }
221
222 button {
223     @include default-button;
224
225     &:active {
226         border: 1px inset #999999;
227     }
228
229     &:disabled {
230         @include disabled-button;
231     }
232
233     &.closebtn {
234         background: transparent;
235         border: 0;
236         cursor: pointer;
237         padding: 0;
238     }
239 }
240
241 main {
242     .yui-b {
243         fieldset {
244             &.brief {
245                 [type="text"],
246                 select {
247                     width: auto;
248                 }
249             }
250         }
251     }
252 }
253
254 table {
255     border-collapse: collapse;
256     border-right: 1px solid #BCBCBC;
257     border-top: 1px solid #BCBCBC;
258
259     .btn-group {
260         white-space: nowrap;
261
262         .btn {
263             display: inline-block;
264             float: none;
265         }
266     }
267
268     &.indexes {
269         td {
270             vertical-align: middle;
271         }
272     }
273
274     > caption {
275         span {
276             &.actions {
277                 font-size: 66%;
278                 font-weight: normal;
279                 margin: 0 .5em 0 0;
280             }
281         }
282     }
283
284     &.invis {
285         border: 0;
286
287         tr,
288         td {
289             border: 0;
290         }
291     }
292
293     + table {
294         margin-top: 1em;
295     }
296 }
297
298 td,
299 th {
300     border-bottom: 1px solid #BCBCBC;
301     border-left: 1px solid #BCBCBC;
302     padding: .2em .3em;
303 }
304
305 td {
306     background-color: #FFFFFF;
307     vertical-align: top;
308
309     &.actions {
310         white-space: nowrap;
311     }
312
313     &.borderless {
314         border: 0 none;
315         border-collapse: separate;
316     }
317
318     &.data {
319         font-family: $font-monospace;
320         text-align: right;
321     }
322
323     &.total {
324         text-align: right;
325     }
326
327     input {
328         &.approve {
329             background-color: #FFC;
330         }
331     }
332 }
333
334
335 th {
336     background-color: #E8E8E8;
337     font-weight: bold;
338     text-align: center;
339
340     &.data {
341         font-family: $font-monospace;
342         text-align: right;
343     }
344 }
345
346 body {
347     font-family: $font-main;
348     padding: 0 0 4em;
349     text-align: left;
350 }
351
352 br {
353     &.clear {
354         clear: both;
355         line-height: 1px;
356     }
357 }
358
359 form {
360     display: inline;
361
362     &.confirm {
363         display: block;
364         text-align: center;
365     }
366 }
367
368 h1 {
369     font-size: 161.6%;
370     font-weight: bold;
371
372     &#logo {
373         border: 0 none;
374         float: left;
375         margin: .75em .3em .75em .7em;
376         padding: 0;
377         width: 180px;
378     }
379 }
380
381 h2 {
382     font-size: 146.5%;
383     font-weight: bold;
384 }
385
386 h3 {
387     font-size: 131%;
388     font-weight: bold;
389 }
390
391 h4 {
392     font-size: 116%;
393     font-weight: bold;
394 }
395
396 h5 {
397     font-size: 100%;
398     font-weight: bold;
399 }
400
401 h6 {
402     font-size: 93%;
403     font-weight: bold;
404 }
405
406 h1,
407 h2,
408 h3,
409 h4,
410 h5,
411 h6 {
412     margin: .3em 0;
413 }
414
415 hr {
416     clear: both;
417     margin: 1em 0;
418 }
419
420 p {
421     margin: .5em 0;
422 }
423
424 strong {
425     font-weight: bold;
426
427     em {
428         font-style: italic;
429         font-weight: bold;
430     }
431
432     em & {
433         font-style: italic;
434         font-weight: bold;
435     }
436 }
437
438 em,
439 cite {
440     font-style: italic;
441 }
442
443 input,
444 textarea {
445     line-height: normal;
446     padding: 2px 4px;
447
448     &:focus {
449         border-color: #538200;
450         border-radius: 4px;
451         border-style: solid;
452     }
453 }
454
455 input {
456     &[type="checkbox"],
457     &[type="radio"] {
458         margin: 0;
459         vertical-align: middle;
460     }
461
462     &[type="submit"],
463     &[type="button"] {
464         &:active {
465             border: 1px inset #999999;
466         }
467     }
468
469     &[type="submit"],
470     &[type="reset"],
471     &[type="button"] {
472         @include default-button;
473
474         &:active {
475             border: 1px inset #999999;
476         }
477
478         &:disabled {
479             @include disabled-button;
480         }
481     }
482
483     &.alert {
484         background-color: #FFFF99;
485         border-color: #900;
486     }
487
488     &.hasDatepicker {
489         background-image: url("../img/famfamfam/silk/calendar.png");
490         background-position-x: right;
491         background-position-y: center;
492         background-repeat: no-repeat;
493         border-style: inset outset outset inset;
494         border-width: 1px;
495         padding-right: 18px;
496     }
497
498     &.submit {
499         @include default-button;
500
501         &:active {
502             border: 1px inset #999999;
503         }
504
505         &:disabled {
506             @include disabled-button;
507         }
508     }
509
510     &.warning {
511         background: #FFF url("../img/famfamfam/silk/error.png") no-repeat 4px center;
512         padding: .25em .25em .25em 25px;
513     }
514 }
515
516 label,
517 .label {
518     color: #000;
519     display: inline;
520     font-size: inherit;
521     font-weight: normal;
522     max-width: inherit;
523     padding: 0;
524     vertical-align: middle;
525
526     input {
527         &[type="checkbox"],
528         &[type="radio"],
529         &[type="checkbox"],
530         &[type="radio"] {
531             margin-top: 0;
532         }
533     }
534
535     &.circ_barcode {
536         font-size: 105%;
537         font-weight: bold;
538     }
539
540     // Permissions Labels
541     &.permissioncode {
542         font-style: italic;
543
544         &::before {
545             content: "(";
546         }
547
548         &::after {
549             content: ")";
550         }
551     }
552
553     &.required {
554         color: #C00;
555     }
556 }
557
558 .subfield-label {
559     font-style: italic;
560
561     span {
562         &.subfield-code {
563             font-weight: bold;
564         }
565     }
566 }
567
568 .members-update-table {
569     padding-top: 10px;
570 }
571
572 #navmenulist {
573     li {
574         border-bottom: 1px solid #EEE;
575         list-style-image: url("../img/arrow-bullet.gif");
576         padding: .2em 0;
577
578         a {
579             text-decoration: none;
580
581             &.current {
582                 font-weight: bold;
583             }
584         }
585     }
586 }
587
588 #doc,
589 #doc1,
590 #doc2,
591 #doc3 {
592     padding-top: 1em;
593 }
594
595 .main {
596     margin-bottom: $language-footer-min-height * 1.5;
597     margin-top: 1em;
598 }
599
600 #login_controls {
601     padding: .4em .5em;
602     position: absolute;
603     right: .5em;
604 }
605
606 ul {
607     padding-left: 1.1em;
608
609     li {
610         list-style-type: disc;
611
612         input {
613             &.submit {
614                 font-size: 87%;
615                 padding: 2px;
616             }
617         }
618
619         li {
620             list-style-type: circle;
621         }
622     }
623
624     .toolbar {
625         padding-left: 0;
626
627         button {
628             font-family: $font-main;
629             padding-bottom: 2px;
630         }
631
632         li {
633             display: inline;
634             list-style: none;
635         }
636     }
637
638     &.budget_hierarchy {
639         margin-left: 0;
640         padding-left: 0;
641
642         li {
643             display: inline;
644
645             &::after {
646                 content: " -> ";
647             }
648
649             &:first-child {
650                 &::after {
651                     content: "";
652                 }
653             }
654
655             &:last-child {
656                 &::after {
657                     content: "";
658                 }
659             }
660         }
661     }
662
663     // For Font Awesome icon bullets
664     &.fa-ul {
665         li {
666             list-style-type: none;
667         }
668     }
669
670     &.ui-tabs-nav {
671         li {
672             list-style: none;
673         }
674     }
675 }
676
677 ol {
678     padding-left: 1.5em;
679
680     li {
681         list-style: decimal;
682     }
683
684     &.bibliodetails {
685         float: left;
686         margin: 0 0 1em 1em;
687
688         li {
689             border-bottom: 1px solid #E8E8E8;
690             list-style-type: none;
691             padding: .1em;
692         }
693
694         span {
695             &.label {
696                 border-right: 1px solid #E8E8E8;
697                 float: left;
698                 font-weight: bold;
699                 margin-right: 1em;
700                 width: 12em;
701             }
702         }
703     }
704 }
705
706
707 .gradient {
708     background-image: linear-gradient(to bottom, rgb(230, 240, 242) 1%, rgb(255, 255, 255) 99%);
709     display: inline-block;
710     width: 100%;
711 }
712
713 .cart-controls {
714     border-top: 1px solid #E8E8E8;
715     padding: 7px 0;
716 }
717
718 #editions {
719     table,
720     td {
721         border: 0;
722     }
723 }
724
725 .highlighted-row,
726 .highlighted-row td {
727     background-color: #FFD000 !important;
728 }
729
730 .warned-row,
731 .warned-row td { background-color: #FF9000 !important }
732
733 .high-warned-row,
734 .high-warned-row td { background-color: #FF0000 !important }
735
736 tbody {
737     tr {
738         &:nth-child(odd) {
739             td {
740                 background-color: #F3F3F3;
741                 border: 1px solid #BCBCBC;
742                 border-right: 1px solid #BCBCBC;
743             }
744         }
745     }
746 }
747
748 .overdue,
749 .debit {
750     color: #CC0000;
751     font-weight: bold;
752 }
753
754 .strong {
755     font-weight: bold;
756 }
757
758 tr {
759     &.clickable {
760         cursor: pointer;
761     }
762
763     &.expired {
764         td {
765             color: #999999;
766         }
767     }
768
769     &.highlight {
770         td {
771             background-color: #F6F6F6;
772             border-color: #BCBCBC;
773         }
774
775         th {
776             &[scope="row"] {
777                 background-color: #DDDDDD;
778                 border-color: #BCBCBC;
779             }
780         }
781
782         table {
783             &.invis {
784                 td {
785                     border: 0;
786                 }
787             }
788         }
789     }
790
791     &.odd {
792         &.onissue {
793             td {
794                 background-color: #FFFFE1;
795             }
796         }
797     }
798
799     &.ok {
800         td {
801             background-color: #FFFFCC;
802         }
803
804         &:nth-child(odd) {
805             td {
806                 background-color: #FFFFCC;
807             }
808         }
809
810         &:nth-child(even) {
811             td {
812                 background-color: #FFFFCC;
813             }
814         }
815     }
816
817     &.onissue {
818         td {
819             background-color: #FFFFCC;
820         }
821     }
822
823     &.reserved {
824         td {
825             background-color: #EEFFD4;
826         }
827     }
828
829     &.transfered {
830         td {
831             background-color: #E8F0F6;
832         }
833     }
834
835     &.warn {
836         td {
837             background-color: #FF9090;
838         }
839
840         &:nth-child(odd) {
841             td {
842                 background-color: #FF9090;
843             }
844         }
845     }
846 }
847
848 .table_borrowers {
849     tr {
850         &:hover {
851             td {
852                 background-color: #FFFF99;
853             }
854         }
855     }
856 }
857
858 tfoot {
859     td {
860         background-color: #F3F3F3;
861         font-weight: bold;
862         vertical-align: middle;
863     }
864 }
865
866 caption {
867     color: #000;
868     font-size: 133.9%;
869     font-weight: bold;
870     margin: .3em 0;
871 }
872
873 .problem {
874     background-color: #FFFFCC;
875     color: #990000;
876     font-weight: bold;
877     line-height: 1.7em;
878 }
879
880 fieldset {
881     background-color: #F4F8F9;
882     border: 2px solid #B9D8D9;
883     border-radius: 5px;
884     margin: 1em 1em 1em 0;
885     padding: 1em;
886
887     + fieldset {
888         &.action {
889             padding-top: 20px;
890         }
891     }
892
893     .lastchecked {
894         border-bottom-left-radius: 0;
895         border-bottom-right-radius: 0;
896         border-bottom-width: 0;
897         margin-bottom: 0;
898     }
899
900     .standard {
901         background-color:#f4f8f9 !important;
902     }
903
904     .contrast {
905         background-color:#F3F3F3 !important;
906     }
907
908     &.action {
909         background-color: transparent;
910         border: 0;
911         clear: both;
912         float: none;
913         margin: .9em 0 0;
914         padding: .4em;
915         width: auto;
916     }
917
918     &.brief {
919         border: 2px solid #B9D8D9;
920
921         div {
922             &.hint {
923                 margin-bottom: .4em;
924             }
925         }
926
927         label {
928             display: block;
929             font-weight: bold;
930             padding: .3em 0;
931
932             &.inline {
933                 display: inline;
934                 float: none;
935                 margin-left: 1em;
936                 width: auto;
937             }
938         }
939
940         li {
941             &[aria-disabled="true"] {
942                 color: #999;
943             }
944
945             &.inline {
946                 display: inline;
947                 float: none;
948                 margin-left: 1em;
949                 width: auto;
950             }
951
952             &.radio,
953             &.checkbox {
954                 label {
955                     display: inline;
956                 }
957             }
958         }
959
960         ol,
961         li {
962             list-style-type: none;
963         }
964
965         span {
966             .label {
967                 display: block;
968                 font-weight: bold;
969                 padding: .3em 0;
970                 text-align: left;
971             }
972         }
973     }
974
975     &.rows {
976         border: 2px solid #B9D8D9;
977         border-width: 1px;
978         clear: left;
979         float: left;
980         font-size: 90%;
981         margin: .9em 0 0;
982         padding: 0;
983         width: 100%;
984
985         fieldset {
986             background-color: transparent;
987             border-width: 1px;
988             margin: 1em;
989             padding: .3em;
990
991             &.action {
992                 padding: 1em;
993             }
994         }
995
996         &.inputnote {
997             clear: left;
998             float: left;
999             margin: 1em 0 0 11em;
1000         }
1001
1002
1003         &.left {
1004             label {
1005                 text-align: left;
1006                 width: 8em;
1007             }
1008
1009             li {
1010                 padding-bottom: .4em;
1011             }
1012
1013             span {
1014                 label {
1015                     text-align: left;
1016                     width: 8em;
1017                 }
1018             }
1019         }
1020
1021         &.ui-accordion-content {
1022             border-top-left-radius: 0;
1023             border-top-right-radius: 0;
1024             margin: 0;
1025             padding: 0;
1026             width: 100%;
1027
1028             table {
1029                 margin: 0;
1030             }
1031         }
1032
1033         &.unselected {
1034             background-color: #FFFFFF;
1035             border: 0;
1036             border-width: 0;
1037         }
1038
1039         caption {
1040             font-size: 120%;
1041         }
1042
1043         div {
1044             &.hint {
1045                 margin-bottom: .4em;
1046                 margin-left: 10.5em;
1047             }
1048         }
1049
1050         label {
1051             float: left;
1052             font-weight: bold;
1053             margin-right: 1em;
1054             text-align: right;
1055             width: 9em;
1056
1057             &.error {
1058                 float: none;
1059                 margin-left: 1em;
1060                 width: auto;
1061             }
1062
1063             &.inline {
1064                 display: inline;
1065                 float: none;
1066                 margin-left: 1em;
1067             }
1068
1069             &.radio {
1070                 display: inline-block;
1071                 margin: 0 1em 0 0;
1072                 padding: 0;
1073                 width: auto;
1074             }
1075
1076             &.yesno {
1077                 float: none;
1078                 width: auto;
1079             }
1080         }
1081
1082         legend {
1083             font-size: 110%;
1084             font-weight: bold;
1085             margin-left: 1em;
1086         }
1087
1088         li {
1089             clear: left;
1090             float: left;
1091             list-style-type: none;
1092             padding-bottom: 1em;
1093             width: 100%;
1094
1095             &[aria-disabled="true"] {
1096                 color: #999;
1097             }
1098
1099             &.radio {
1100                 padding-left: 9em;
1101                 width: auto;
1102
1103                 input + label {
1104                     margin-left: 0;
1105                     padding-left: 0;
1106                 }
1107
1108                 label {
1109                     float: none;
1110                     margin: 0 0 0 1em;
1111                     width: auto;
1112                 }
1113             }
1114
1115             input + label {
1116                 margin-left: 0;
1117                 padding-left: 0;
1118             }
1119         }
1120
1121         ol {
1122             list-style-type: none;
1123             padding: 1em 1em 0;
1124
1125             &.radio {
1126                 label {
1127                     float: none;
1128                     margin-left: 20px;
1129                     margin-right: 30px;
1130                     padding-left: 0;
1131                     vertical-align: middle;
1132                     width: auto;
1133
1134                     &.radio {
1135                         float: left;
1136                         margin-right: 1em;
1137                         margin-top: 0;
1138                         width: 9em;
1139                     }
1140                 }
1141
1142                 input {
1143                     &[type="checkbox"],
1144                     &[type="radio"] {
1145                         margin-left: -20px;
1146                     }
1147                 }
1148             }
1149         }
1150
1151         p {
1152             margin: 1em 0 1em 1em;
1153         }
1154
1155         span {
1156             &.label {
1157                 float: left;
1158                 font-weight: bold;
1159                 margin-right: 1em;
1160                 text-align: right;
1161                 width: 9em;
1162             }
1163         }
1164
1165         table {
1166             clear: both;
1167             font-size: 105%;
1168             margin: 1em 0 1em 1em;
1169
1170             &.mceListBox {
1171                 margin: 0;
1172             }
1173         }
1174
1175         td {
1176             label {
1177                 float: none;
1178                 font-weight: normal;
1179                 width: auto;
1180             }
1181         }
1182
1183         .inputnote {
1184             clear: left;
1185             float: left;
1186             margin: 1em 0 0 11em;
1187         }
1188
1189         + h3 {
1190             clear: both;
1191             padding-top: .5em;
1192         }
1193     }
1194 }
1195
1196 #multi_receiving {
1197     fieldset {
1198         &.rows {
1199             label {
1200                 width: 50%;
1201             }
1202         }
1203     }
1204 }
1205
1206 .yui-u {
1207     div {
1208         &.hint {
1209             margin-bottom: .4em;
1210         }
1211     }
1212
1213     fieldset {
1214         &.rows {
1215             div {
1216                 &.hint {
1217                     margin-left: 7.5em;
1218                 }
1219             }
1220
1221             label {
1222                 width: 10em;
1223             }
1224
1225             span {
1226                 &.label {
1227                     width: 10em;
1228                 }
1229             }
1230         }
1231     }
1232
1233     .rows {
1234         li {
1235             p {
1236                 label {
1237                     &.widelabel {
1238                         width: auto;
1239                     }
1240                 }
1241             }
1242         }
1243     }
1244 }
1245
1246 legend {
1247     background-color: #FFFFFF;
1248     border: 2px solid #B9D8D9;
1249     border-radius: 3px;
1250     font-size: 123.1%;
1251     font-weight: bold;
1252     padding: .2em .5em;
1253     width: auto;
1254 }
1255
1256 details {
1257     > summary {
1258         cursor: pointer;
1259
1260         &::before {
1261             content: "\f0da";
1262             display: inline-block;
1263             font-family: FontAwesome;
1264             width: 1em;
1265         }
1266
1267         &.checkouts-by-itemtype {
1268             li {
1269                 display: inline-block;
1270             }
1271         }
1272     }
1273 }
1274
1275 details[open] {
1276     > summary {
1277         &::before {
1278             content: "\f0d7";
1279         }
1280     }
1281 }
1282
1283
1284 #floating-save {
1285     background-color: rgba(185, 216, 217, .6);
1286     bottom: 3%;
1287     position: fixed;
1288     right: 1%;
1289     width: 150px;
1290 }
1291
1292 #breadcrumbs {
1293     background-color: #E6F0F2;
1294     clear: both;
1295     font-size: 90%;
1296     margin: 0;
1297     padding: .2em .5em .4em 10px;
1298 }
1299
1300 #header {
1301     &.navbar {
1302         margin-bottom: 0;
1303     }
1304
1305     &.navbar-default {
1306         background: #E6F0F2;
1307         border: 0;
1308         box-shadow: none;
1309     }
1310
1311     + #breadcrumbs {
1312         margin-top: 1em;
1313     }
1314
1315     > .container-fluid {
1316         padding: 0;
1317     }
1318 }
1319
1320 div {
1321     &.action {
1322         background-color: transparent;
1323         border: 0;
1324         clear: both;
1325         float: none;
1326         margin: .9em 0 0;
1327         padding: .4em;
1328         width: auto;
1329     }
1330
1331     .circmessage {
1332         margin-bottom: .3em;
1333         padding: 0 .4em .4em;
1334
1335         &:first-child {
1336             margin-top: 1em;
1337         }
1338     }
1339
1340     &.first {
1341         fieldset {
1342             margin-right: 0;
1343         }
1344     }
1345
1346     &.help {
1347         margin: .9em 0 0;
1348     }
1349
1350     &.justify {
1351         text-align: justify;
1352     }
1353
1354     &.message {
1355         background: linear-gradient(to bottom, #FFFFFF 0%, #F4F6FA 2%, #EAEEF5 23%, #E8EDF6 94%, #CDDBF2 100%);
1356         border: 1px solid #BCBCBC;
1357         text-align: center;
1358         width: 55%;
1359
1360         ul,
1361         h5 {
1362             padding-left: 25%;
1363             text-align: left;
1364         }
1365
1366         ul + h4 {
1367             margin-top: .7em;
1368         }
1369     }
1370
1371     &.note {
1372         background: linear-gradient(to bottom, #F4F6FA 0%, #E8EDF6 100%); // W3C
1373         border: 1px solid #BCBCBC;
1374         margin: .5em 0;
1375         padding: .5em;
1376
1377         i {
1378             &.fa-exclamation {
1379                 color: #CC0000;
1380                 font-style: italic;
1381                 padding: 0 .3em;
1382             }
1383         }
1384     }
1385
1386     // Tools > automatic_item_modification_by_age
1387     &.rules {
1388         display: block;
1389     }
1390
1391     &[class$="_table_controls"] {
1392         padding: .7em 0;
1393     }
1394
1395     &.results {
1396         padding: .7em 0;
1397     }
1398
1399     &.rule {
1400         background-color: #F4F8F9;
1401         border: 2px solid #B9D8D9;
1402         border-radius: 5px;
1403         margin: .3em;
1404         padding: .3em;
1405     }
1406
1407     &.lastchecked {
1408         border: 2px solid #BCDB89;
1409         border-bottom-left-radius: 5px;
1410         border-bottom-right-radius: 5px;
1411         padding: .2em 1em;
1412     }
1413
1414     &.listgroup {
1415         clear: left;
1416
1417         h4 {
1418             font-style: italic;
1419
1420             a {
1421                 font-size: 80%;
1422             }
1423         }
1424
1425         input {
1426             font-size: 80%;
1427         }
1428     }
1429
1430     &.sysprefs {
1431         h3 {
1432             margin: .2em 0 .2em .4em;
1433         }
1434
1435         dl {
1436             margin-left: 1.5em;
1437         }
1438
1439         &.hint {
1440             float: right;
1441             margin: .7em;
1442             padding: .5em;
1443             width: 25%;
1444         }
1445     }
1446
1447     &.rows {
1448         clear: left;
1449         float: left;
1450         margin: 0;
1451         padding: 0;
1452         width: 100%;
1453
1454         + div {
1455             &.rows {
1456                 margin-top: .6em;
1457             }
1458         }
1459
1460         li {
1461             border-bottom: 1px solid #EEE;
1462             clear: left;
1463             float: left;
1464             list-style-type: none;
1465             padding: .275em;
1466             width: 100%;
1467         }
1468
1469         ol {
1470             list-style-type: none;
1471             padding: .5em 1em 0 0;
1472
1473             li {
1474                 li {
1475                     border-bottom: 0;
1476                 }
1477             }
1478         }
1479
1480         p {
1481             margin-left: 10em;
1482         }
1483
1484         span {
1485             &.label {
1486                 float: left;
1487                 font-weight: bold;
1488                 margin-right: 1em;
1489                 padding-top: 0;
1490                 text-align: left;
1491                 width: 9em;
1492             }
1493         }
1494     }
1495
1496     &.pages {
1497         margin: .5em 0;
1498
1499         a {
1500             font-weight: bold;
1501             padding: 1px 5px;
1502             text-decoration: none;
1503
1504             &:link,
1505             &:visited {
1506                 background-color: #EEEEEE;
1507                 color: #3366CC;
1508             }
1509
1510             &:hover,
1511             &:active {
1512                 background-color: #FFC;
1513             }
1514         }
1515
1516         .current,
1517         .currentPage {
1518             background-color: #E6FCB7;
1519             color: #666;
1520             font-weight: bold;
1521             padding: 1px 5px;
1522         }
1523
1524         .inactive {
1525             background-color: #F3F3F3;
1526             color: #BCBCBC;
1527             font-weight: bold;
1528             padding: 1px 5px;
1529         }
1530     }
1531
1532     .browse {
1533         margin: .5em 0;
1534     }
1535 }
1536
1537 #header_search {
1538     background-position: .5em .5em;
1539     background-repeat: no-repeat;
1540     float: left;
1541     margin: .3em 0 .5em;
1542
1543     input {
1544         font-size: 1.3em;
1545
1546         &.submit {
1547             font-size: 1em;
1548         }
1549     }
1550
1551     div {
1552         &.residentsearch {
1553             border: 0;
1554             border-bottom: 1px solid #85CA11;
1555             padding: 0 0 .2em;
1556         }
1557     }
1558
1559     ul {
1560         &.ui-tabs-nav {
1561             margin-left: 1em;
1562             padding-top: 0;
1563
1564             li {
1565                 &.ui-state-default {
1566                     background: transparent none;
1567                     border: 0;
1568                     top: 0;
1569
1570                     a {
1571                         padding: .3em .6em;
1572                     }
1573                 }
1574
1575                 &.ui-tabs-active {
1576                     background-color: #FFFFF1;
1577                     border: 1px solid #85CA11;
1578                     border-top-width: 0;
1579                     top: -2px;
1580
1581                     a {
1582                         text-decoration: none;
1583                     }
1584                 }
1585             }
1586         }
1587     }
1588
1589     .ui-corner-top {
1590         border-radius: 0 0 4px 4px;
1591     }
1592
1593     > div,
1594     > ul {
1595         display: none;
1596
1597         > li {
1598             display: none;
1599
1600             &:first-of-type {
1601                 display: block;
1602             }
1603         }
1604
1605         &:first-of-type {
1606             display: block;
1607         }
1608     }
1609 }
1610
1611
1612 .head-searchbox {
1613     width: 30em;
1614 }
1615
1616 #reserves,
1617 #checkouts {
1618     border: 1px solid #B9D8D9;
1619     padding: 1em;
1620 }
1621
1622 .tip {
1623     color: #808080;
1624     font-size: 93%;
1625 }
1626
1627 .single-line {
1628     white-space: nowrap;
1629 }
1630
1631 .ex {
1632     font-family: $font-monospace;
1633     font-weight: bold;
1634 }
1635
1636 dt {
1637     font-weight: bold;
1638 }
1639
1640 dd {
1641     font-size: 90%;
1642     font-weight: normal;
1643     padding: .2em;
1644     text-indent: 2.5em;
1645 }
1646
1647 #toolbar,
1648 .btn-toolbar {
1649     background-color: #EDF4F6;
1650     border: 1px solid #E6F0F2;
1651     border-radius: 5px 5px 0 0;
1652     margin: 0;
1653     padding: 5px;
1654
1655     .dropdown-menu {
1656         border-top-width: 1px;
1657         font-size: 13px;
1658     }
1659
1660     &.floating {
1661         border-radius: 0;
1662         margin-top: 0;
1663     }
1664 }
1665
1666 #disabled {
1667     a {
1668         color: #999;
1669
1670         &:hover {
1671             color: #999;
1672         }
1673     }
1674 }
1675
1676 #disabled2 {
1677     a {
1678         color: #999;
1679     }
1680 }
1681
1682
1683 .patroninfo {
1684     margin-top: -.5em;
1685
1686     h5 {
1687         border-right: 1px solid #B9D8D9;
1688         margin-bottom: 0;
1689         padding-bottom: .5em;
1690         padding-left: -.5em;
1691         padding-top: .3em;
1692
1693         &:empty {
1694             border-right: 0;
1695         }
1696     }
1697
1698     ul {
1699         border: 0;
1700         border-bottom: 0;
1701         border-right: 1px solid #B9D8D9;
1702         border-top: 0;
1703         margin: 0;
1704         padding: 0;
1705
1706         li {
1707             list-style-type: none;
1708             margin: 0;
1709         }
1710     }
1711
1712     + #menu {
1713         margin-right: 0;
1714     }
1715 }
1716
1717 #patronbasics {
1718     div {
1719         background: transparent url("../img/patron-blank.min.svg") 10px 5px no-repeat;
1720         border: 1px solid #CCCCCC;
1721         height: 125px;
1722         margin: .3em 0 .3em .3em;
1723         padding: 0;
1724         width: 105px;
1725     }
1726 }
1727
1728 #patronimage {
1729     border: 1px solid #CCCCCC;
1730     margin: .3em 0 .3em .3em;
1731     max-width: 140px;
1732     padding: .2em;
1733 }
1734
1735 .patronviews {
1736     border-right: 1px solid #000;
1737     border-top: 1px solid #000;
1738     margin-bottom: .5em;
1739     padding: .5em 0;
1740 }
1741
1742 .column-tool {
1743     font-size: 80%;
1744 }
1745
1746 .hint {
1747     color: #666;
1748     font-size: 95%;
1749 }
1750
1751 .yui-b {
1752     fieldset {
1753         &.brief {
1754             padding: .4em .7em;
1755
1756             fieldset {
1757                 margin: 0 .3em;
1758                 padding: .5em;
1759
1760                 legend {
1761                     font-size: 85%;
1762                 }
1763             }
1764
1765             li {
1766
1767                 &.checkbox {
1768
1769                     input {
1770                         #tools_holidays & {
1771                             margin-left: 0;
1772                         }
1773                     }
1774
1775                     label {
1776                         display: inline;
1777
1778                         #tools_holidays & {
1779                             margin-left: 20px;
1780                         }
1781                     }
1782                 }
1783
1784                 &.dateinsert {
1785                     label {
1786                         display: inline;
1787                     }
1788
1789                     span {
1790                         &.label {
1791                             display: inline;
1792                         }
1793                     }
1794                 }
1795
1796                 &.radio {
1797                     padding: .7em 0;
1798
1799                     input {
1800                         padding: .3em 0;
1801
1802                         #tools_holidays & {
1803                             margin-left: 0;
1804                         }
1805                     }
1806
1807                     label {
1808                         display: inline;
1809
1810                         #tools_holidays & {
1811                             margin-left: 20px;
1812                         }
1813
1814                         span {
1815                             &.label {
1816                                 display: inline;
1817                             }
1818                         }
1819                     }
1820                 }
1821             }
1822
1823             ol {
1824                 font-size: 85%;
1825                 margin: 0;
1826                 padding: 0;
1827             }
1828
1829             select,
1830             [type=text] {
1831                 width: 100%;
1832             }
1833         }
1834
1835         &.rows {
1836             div {
1837                 &.hint {
1838                     margin-left: 10.5em;
1839                 }
1840             }
1841
1842             td {
1843                 label {
1844                     width: auto;
1845                 }
1846
1847                 span {
1848                     &.label {
1849                         width: auto;
1850                     }
1851                 }
1852             }
1853         }
1854     }
1855 }
1856
1857 #yui-main {
1858     .yui-b {
1859         fieldset {
1860             &.brief {
1861                 select,
1862                 [type=text] {
1863                     width: auto;
1864                 }
1865             }
1866         }
1867     }
1868 }
1869
1870 .btn-toolbar {
1871     fieldset {
1872         &.action {
1873             margin-top: 0;
1874         }
1875     }
1876
1877     .dropdown-menu {
1878         font-size: 13px;
1879     }
1880 }
1881
1882 .rows {
1883     .label {
1884         white-space: normal;
1885     }
1886 }
1887
1888 .checkedout {
1889     color: #999999;
1890     font-style: italic;
1891 }
1892
1893 .subfield_not_filled {
1894     background-color: #FFFF99;
1895 }
1896
1897 .content_hidden {
1898     display: none;
1899     visibility: hidden; // you propably don't need to change this one
1900 }
1901
1902 // the property for the displayed tab
1903 .content_visible {
1904     display: block;
1905     visibility: visible; // you propably don't need to change this one
1906 }
1907
1908 #z3950searcht {
1909     table {
1910         border: 0;
1911         padding: 20px;
1912     }
1913 }
1914
1915 #z3950_search_targets {
1916     height: 338px;
1917     overflow-y: auto;
1918 }
1919
1920 #z3950_search_targets_acq {
1921     height: 308px;
1922     overflow-y: auto;
1923 }
1924
1925 .z3950checks {
1926     padding-left: 1em;
1927 }
1928
1929 .error {
1930     color: #CC0000;
1931 }
1932
1933 .status_ok {
1934     background-color: #90EE90;
1935 }
1936
1937 .status_warn {
1938     background-color: #FF0000;
1939 }
1940
1941 // Font Awesome icons
1942 i {
1943     &.error {
1944         color: #CC0000;
1945     }
1946
1947     &.success {
1948         color: #008000;
1949     }
1950
1951     &.warn {
1952         color: #FFA500;
1953     }
1954 }
1955
1956 .checkout-setting {
1957     font-size: 85%;
1958     padding-top: .3em;
1959
1960     input {
1961         vertical-align: middle;
1962     }
1963
1964     label {
1965         font-size: inherit;
1966         font-weight: normal;
1967     }
1968 }
1969
1970 .checkout-settings {
1971     background-color: #F4F8F9;
1972     border-radius: 0;
1973     border-top: 2px solid #B9D8D9;
1974     display: none;
1975     margin-left: -1em;
1976     margin-right: -1em;
1977     margin-top: 1em;
1978     padding: 1em 1em 0;
1979 }
1980
1981 #show-checkout-settings {
1982     margin-top: .5em;
1983 }
1984
1985 .blocker {
1986     color: #990000;
1987 }
1988
1989 .inaccurate-item-statuses {
1990     color: #990000;
1991 }
1992
1993 .circmessage {
1994     li {
1995         list-style: url("../img/arrow-bullet.gif");
1996         margin-bottom: .2em;
1997     }
1998 }
1999
2000 #circ_needsconfirmation {
2001     margin: auto;
2002 }
2003
2004 .dialog {
2005     border: 1px solid #BCBCBC;
2006     border-radius: 2px;
2007     margin: 1em auto;
2008     padding: .5em;
2009     text-align: center;
2010     width: 65%;
2011
2012     a {
2013         &.approve {
2014             display: inline-block;
2015         }
2016     }
2017
2018     button,
2019     a.approve {
2020         background: #FFF none;
2021         border: 1px outset #999999;
2022         border-left-color: #666;
2023         border-top-color: #666;
2024         margin: .4em;
2025         padding: .4em;
2026         white-space: pre-line;
2027
2028         &:active {
2029             border: 1px inset #999999;
2030         }
2031
2032         &:hover {
2033             background-color: #FFC;
2034         }
2035     }
2036
2037     h2,
2038     h3,
2039     h4 {
2040         margin: auto;
2041         text-align: center;
2042     }
2043
2044     input {
2045         background-color: #FFFFFF;
2046         border: 1px solid #BCBCBC;
2047         margin: .4em;
2048         padding: .4em .4em .4em 25px;
2049
2050         &:hover {
2051             background-color: #FFC;
2052         }
2053
2054         &[type="submit"] {
2055             background: #FFF none;
2056         }
2057     }
2058
2059     li {
2060         list-style-position: inside;
2061     }
2062
2063     table {
2064         margin: .5em auto;
2065
2066         td {
2067             text-align: left;
2068         }
2069
2070         th {
2071             text-align: right;
2072         }
2073     }
2074 }
2075
2076 .alert {
2077     background: linear-gradient(to bottom, #FEF8D3 0%, #FFEC91 9%, #FFED87 89%, #F9DC00 100%);
2078     border: 1px solid #E0C726;
2079     color: inherit;
2080     text-align: center;
2081     text-shadow: none;
2082
2083     strong {
2084         color: #900;
2085     }
2086
2087     // Redefine a new style for Bootstrap's class "close" since we use that already
2088     // Use <a class="closebtn" href="#">&times;</a>
2089     .closebtn {
2090         line-height: 20px;
2091         position: relative;
2092         right: -21px;
2093         top: -2px;
2094     }
2095 }
2096
2097 .approve,
2098 .success {
2099     i {
2100         &.fa {
2101             color: #008000;
2102         }
2103     }
2104 }
2105
2106 .deny {
2107     i {
2108         &.fa {
2109             color: #CC0000;
2110         }
2111     }
2112 }
2113
2114 .new {
2115     i {
2116         &.fa {
2117             color: #425FAF;
2118         }
2119     }
2120 }
2121
2122 .accesskey {
2123     text-decoration: underline;
2124 }
2125
2126 .missing {
2127     background-color: #FFFFCC;
2128 }
2129
2130 .term {
2131     background-color: #FFC;
2132     color: #990000;
2133 }
2134
2135 // style for shelving location in catalogsearch
2136 .shelvingloc {
2137     display: block;
2138     font-style: italic;
2139 }
2140
2141 #menu {
2142     border-right: 1px solid #B9D8D9;
2143     margin-right: .5em;
2144     padding-bottom: 2em;
2145     padding-top: 1em;
2146
2147     li {
2148         a {
2149             background: linear-gradient(to bottom, #E8F0F6 0%, #E8F0F6 96%, #C1C1C1 100%);
2150             border: 1px solid #B9D8D9;
2151             border-bottom-left-radius: 5px;
2152             border-top-left-radius: 5px;
2153             display: block;
2154             font-size: 111%;
2155             margin: .5em 0;
2156             margin-right: -1px;
2157             padding: .4em .3em;
2158             text-decoration: none;
2159
2160             &:hover {
2161                 background: linear-gradient(to bottom, #FAFAFA 0%, #FFFFFF 96%, #E6E6E6 97%, #CCCCCC 99%, #C1C1C1 100%);
2162                 border-bottom: 1px solid #85CA11;
2163                 border-left: 1px solid #85CA11;
2164                 border-top: 1px solid #85CA11;
2165             }
2166         }
2167
2168         &.active {
2169             a {
2170                 background-color: #FFFFFF;
2171                 background-image: none;
2172                 border-bottom: 1px solid #85CA11;
2173                 border-left: 1px solid #85CA11;
2174                 border-right: 0;
2175                 border-top: 1px solid #85CA11;
2176                 color: #000000;
2177                 font-weight: bold;
2178
2179                 &:hover {
2180                     background-color: #FFFFFF;
2181                     color: #538200;
2182                 }
2183             }
2184         }
2185     }
2186
2187     ul {
2188         li {
2189             list-style-type: none;
2190         }
2191     }
2192 }
2193
2194
2195 #logo {
2196     background: transparent url("../img/koha-logo-medium.png") no-repeat scroll 0%;
2197     margin: .75em .3em .75em .7em;
2198
2199     a {
2200         border: 0;
2201         cursor: pointer;
2202         display: block;
2203         height: 0 !important;
2204         margin: 0;
2205         overflow: hidden;
2206         padding: 44px 0 0;
2207         text-decoration: none;
2208         width: 180px;
2209     }
2210 }
2211
2212 #closewindow {
2213     margin-top: 2em;
2214     text-align: center;
2215
2216     a {
2217         font-weight: bold;
2218     }
2219 }
2220
2221 .barcode {
2222     font-size: 200%;
2223     vertical-align: middle;
2224 }
2225
2226 li {
2227     &.email {
2228         overflow: hidden;
2229         text-overflow: ellipsis;
2230         white-space: nowrap;
2231     }
2232 }
2233
2234 .patronbriefinfo {
2235     li {
2236         &.email {
2237             font-size: 87%;
2238             padding: 0 10px 0 0;
2239             width: 90%;
2240         }
2241     }
2242 }
2243
2244 .empty {
2245     color: #CCC;
2246 }
2247
2248 .address {
2249     font-size: 110%;
2250
2251     li {
2252         list-style-type: none;
2253     }
2254 }
2255
2256 .title {
2257     font-size: 105%;
2258     font-weight: bold;
2259 }
2260
2261 .hold {
2262     float: right;
2263     font-size: 90%;
2264     margin: 0;
2265 }
2266
2267 .thumbnail {
2268     display: block;
2269     margin: auto;
2270
2271     > li {
2272         list-style-type: none;
2273     }
2274 }
2275
2276 #searchresults {
2277     ul {
2278         li {
2279             clear: left;
2280             font-size: 90%;
2281             list-style: url("../img/item-bullet.gif");
2282             padding: .2em 0;
2283
2284             img {
2285                 float: left;
2286                 margin: 3px 5px 3px -5px;
2287             }
2288         }
2289
2290         span {
2291             &.status {
2292                 clear: left;
2293                 color: #900;
2294                 display: block;
2295             }
2296
2297             &.unavailable {
2298                 clear: left;
2299                 display: block;
2300             }
2301         }
2302
2303         table {
2304             td {
2305                 vertical-align: top;
2306             }
2307         }
2308     }
2309
2310     &.unavailability {
2311         strong {
2312             display: block;
2313         }
2314     }
2315 }
2316
2317 #searchheader {
2318     background-color: #E6F0F2;
2319     border: 1px solid #B9D8D9;
2320     border-radius: 5px 5px 0 0;
2321     font-size: 80%;
2322     margin: 0 0 .5em -1px;
2323     padding: .4em 0 .4em 1em;
2324
2325     &.floating {
2326         border-radius: 0;
2327         margin-top: 0;
2328     }
2329
2330     .btn-group {
2331         > .btn {
2332             &:first-child {
2333                 margin-left: .7em;
2334             }
2335         }
2336     }
2337
2338     form {
2339         float: right;
2340         padding: 5px 5px 3px 0;
2341
2342         &.fz3950 {
2343             float: right;
2344             font-size: 125%;
2345             padding: 0 0 0 5em;
2346         }
2347
2348         &.fz3950bigrpad {
2349             float: right;
2350             font-size: 125%;
2351             padding: 5px 25em 0 0;
2352         }
2353     }
2354 }
2355
2356 #search-facets {
2357     border: 1px solid #B9D8D9;
2358     border-radius: 5px 5px 0 0;
2359
2360     h4 {
2361         background-color: #E6F0F2;
2362         border-bottom: 1px solid #B9D8D9;
2363         border-radius: 5px 5px 0 0;
2364         font-size: 90%;
2365         margin: 0;
2366         padding: .4em .2em;
2367         text-align: center;
2368     }
2369
2370     ul {
2371         margin: 0;
2372         padding: .3em;
2373
2374         li {
2375             font-weight: bold;
2376             list-style-type: none;
2377         }
2378     }
2379
2380     li {
2381         li {
2382             font-size: 85%;
2383             font-weight: normal;
2384             margin-bottom: 2px;
2385             padding: .1em .2em;
2386         }
2387
2388         &.showmore {
2389             font-weight: bold;
2390             text-indent: 1em;
2391         }
2392     }
2393 }
2394
2395 .facet-count {
2396     display: inline-block;
2397 }
2398
2399 #bookcoverimg {
2400     text-align: center;
2401 }
2402
2403 .searchhighlightblob {
2404     font-size: 75%;
2405     font-style: italic;
2406 }
2407
2408 #displayexample {
2409     background-color: #CCCCCC;
2410     margin-bottom: 10px;
2411     padding: 5px;
2412 }
2413
2414 #irregularity_summary {
2415     vertical-align: top;
2416 }
2417
2418 #toplevelmenu {
2419     padding: 0;
2420 }
2421
2422 #CheckAll,
2423 #CheckNone,
2424 #CheckPending {
2425     font-weight: normal;
2426     margin: 0 .5em 0 0;
2427 }
2428
2429 .lost,
2430 .dmg,
2431 .wdn {
2432     color: #990000;
2433     display: block;
2434 }
2435
2436 .datedue {
2437     color: #999;
2438     display: block;
2439     font-style: italic;
2440 }
2441
2442 .waitinghere,
2443 .credit {
2444     color: #669900;
2445 }
2446
2447 #mainuserblock {
2448     border: 1px solid #E8E8E8;
2449     margin-top: .5em;
2450     padding: .5em;
2451 }
2452
2453 .labeledmarc-table {
2454     border: 0;
2455 }
2456
2457 .labeledmarc-label {
2458     border: 0;
2459     color: #000000;
2460     font-size: 11pt;
2461     font-style: italic;
2462     padding: 5;
2463 }
2464
2465 .labeledmarc-value {
2466     border: 0;
2467     color: #000;
2468     font-size: 10pt;
2469     padding: 5;
2470 }
2471
2472 #marcPreview {
2473     table {
2474         border: 0;
2475         font-family: $font-monospace;
2476         font-size: 95%;
2477         margin: .7em 0 0;
2478     }
2479
2480     tbody {
2481         tr {
2482             &:nth-child(2n+1) {
2483                 td {
2484                     background-color: #FFFFFF;
2485                 }
2486             }
2487         }
2488     }
2489
2490     td {
2491         border: 0;
2492         padding: 2px;
2493         vertical-align: top;
2494     }
2495
2496     th {
2497         background-color: #FFFFFF;
2498         border: 0;
2499         padding: 2px;
2500         text-align: left;
2501         vertical-align: top;
2502         white-space: nowrap;
2503     }
2504
2505     &.modal-dialog {
2506         width: 80%;
2507     }
2508 }
2509
2510 .modal-dialog {
2511     &.modal-wide {
2512         width: 80%;
2513     }
2514 }
2515
2516 @media (max-width: 767px) {
2517     #marcPreview {
2518         margin: 0;
2519         width: auto;
2520     }
2521 }
2522
2523 #cartDetails {
2524     background-color: #FFFFFF;
2525     border: 1px solid #739ACF;
2526     box-shadow: 1px 1px 3px 0 #666;
2527     color: #000;
2528     display: none;
2529     margin: 0;
2530     padding: 10px;
2531     text-align: center;
2532     width: 180px;
2533     z-index: 50;
2534 }
2535
2536 #cartmenulink {
2537     background: transparent url("../img/cart-small.gif") left center no-repeat;
2538     padding-left: 15px;
2539 }
2540
2541 #basketcount {
2542     span {
2543         display: inline;
2544         font-size: 90%;
2545         font-weight: normal;
2546         padding: 0;
2547     }
2548 }
2549
2550 #moremenu {
2551     display: none;
2552 }
2553
2554 .results_summary {
2555     color: #707070;
2556     display: block;
2557     font-size: 85%;
2558     padding: 0 0 .5em;
2559
2560     a {
2561         font-weight: normal;
2562     }
2563
2564     .label {
2565         color: #202020;
2566     }
2567 }
2568
2569 .child_fund_amount {
2570     font-style: italic;
2571 }
2572
2573 .number_box {
2574     font-size: 105%;
2575     line-height: 200%;
2576
2577     a,
2578     span {
2579         background-color: #E4ECF5;
2580         border: 1px solid #A4BEDD;
2581         border-radius: 4px;
2582         font-weight: bold;
2583         padding: .1em .4em;
2584         text-decoration: none;
2585
2586         &:hover {
2587             background-color: #EBEFF7;
2588         }
2589     }
2590 }
2591
2592 .container {
2593     border: 1px solid #EEE;
2594     margin: 1em 0;
2595     padding: 1em;
2596 }
2597
2598 .import_export {
2599     position: relative;
2600
2601     .export_ok {
2602         background: #E3E3E3 none;
2603         border: 0;
2604         cursor: pointer;
2605         margin-left: 20px;
2606         padding: 10px;
2607     }
2608
2609     .import_export_options {
2610         background: #FFFFFF;
2611         border: 1px solid #CDCDCD;
2612         left: 60px;
2613         padding: 10px;
2614         position: absolute;
2615         top: 0;
2616         width: 300px;
2617         z-index: 1;
2618     }
2619 }
2620
2621 .import_export_options {
2622     background: #E3E3E3 none;
2623     border: 0;
2624     cursor: pointer;
2625     margin-left: 20px;
2626     padding: 10px;
2627
2628     fieldset {
2629         &.rows {
2630             li {
2631                 label {
2632                     width: 16em;
2633                 }
2634             }
2635         }
2636     }
2637
2638     .importing {
2639         background: none;
2640         padding: inherit;
2641     }
2642 }
2643
2644 .form_import {
2645     fieldset {
2646         &.rows {
2647             li {
2648                 label {
2649                     width: auto;
2650                 }
2651             }
2652         }
2653     }
2654
2655     .input_import {
2656         border: 1px solid #BCBCBC;
2657     }
2658 }
2659
2660 .importing {
2661     position: relative;
2662
2663     .importing_msg {
2664         padding-bottom: 10px;
2665         padding-left: 10px;
2666     }
2667 }
2668
2669
2670 .field_hint {
2671     color: #808080;
2672     font-style: italic;
2673     padding-left: 1em;
2674 }
2675
2676 .m880 {
2677     display: block;
2678     float: right;
2679     padding-left: 20px;
2680     text-align: right;
2681     width: 50%;
2682 }
2683
2684 .advsearch {
2685     margin: 0;
2686
2687     table {
2688         border-collapse: separate;
2689         border-spacing: 5px;
2690         border-width: 0;
2691     }
2692
2693     td {
2694         border: 1px solid #EEE;
2695         padding: .3em .4em;
2696     }
2697 }
2698
2699 #circ_circulation_issue {
2700     position: relative;
2701 }
2702
2703 #clearscreen {
2704     position: absolute;
2705     right: 0;
2706     top: 0;
2707
2708     a {
2709         background-color: #EEE;
2710         border-radius: 0 0 0 5px;
2711         color: #CCC;
2712         display: block;
2713         font-size: 160%;
2714         font-weight: bold;
2715         padding: 0 .7em .2em;
2716         text-decoration: none;
2717         text-shadow: 0 -1px 0 #666;
2718
2719         &:hover {
2720             color: #CC0000;
2721         }
2722     }
2723 }
2724
2725 #printclearscreen {
2726     position: absolute;
2727     right: 43px;
2728     top: 0;
2729
2730     a {
2731         background-color: #EEE;
2732         border-radius: 0 0 0 5px;
2733         color: #CCC;
2734         display: block;
2735         font-size: 160%;
2736         font-weight: bold;
2737         padding: 0 .7em .2em;
2738         text-decoration: none;
2739         text-shadow: 0 -1px 0 #666;
2740
2741         &:hover {
2742             color: #CC0000;
2743         }
2744     }
2745 }
2746 .pager {
2747     background-color: #E8E8E8;
2748     border: 1px solid #BCBCBC;
2749     border-radius: 5px;
2750     display: inline-block;
2751     font-size: 85%;
2752     margin: .4em 0;
2753     padding: .3em .5em;
2754
2755     img {
2756         vertical-align: middle;
2757
2758         &.last {
2759             padding-right: 5px;
2760         }
2761     }
2762
2763     input {
2764         &.pagedisplay {
2765             background-color: transparent;
2766             border: 0;
2767             font-weight: bold;
2768             text-align: center;
2769         }
2770     }
2771
2772     p {
2773         margin: 0;
2774     }
2775 }
2776
2777 .no-image {
2778     background-color: #FFFFFF;
2779     border: 1px solid #AAAAAA;
2780     border-radius: 3px;
2781     color: #979797;
2782     display: block;
2783     font-size: 86%;
2784     font-weight: bold;
2785     text-align: center;
2786     width: 75px;
2787 }
2788
2789 #acqui_order_supplierlist {
2790     > div {
2791         &.supplier {
2792             border: 1px solid #EEEEEE;
2793             margin: .5em;
2794             padding: 1em;
2795         }
2796
2797         > div {
2798             > .baskets {
2799                 margin-top: .5em;
2800             }
2801         }
2802
2803         > span {
2804             &.action {
2805                 margin-left: 5em;
2806             }
2807
2808             &.suppliername {
2809                 display: inline;
2810                 font-size: 1.7em;
2811                 margin-bottom: .5em;
2812             }
2813         }
2814     }
2815 }
2816
2817 #ADD-contact {
2818     margin: 0 0 8px 8px;
2819 }
2820
2821 #contact-template {
2822     display: none;
2823 }
2824
2825 // Override core jQueryUI widgets
2826 .ui-widget-content {
2827     background: #FFFFFF none;
2828     border: 1px solid #B9D8D9;
2829     color: #222222;
2830 }
2831
2832 .ui-widget-header {
2833     background: #E6F0F2 none;
2834     border: 1px solid #B9D8D9;
2835     color: #222222;
2836     font-weight: bold;
2837 }
2838
2839 .ui-state-default,
2840 .ui-widget-content .ui-state-default,
2841 .ui-widget-header .ui-state-default {
2842     background: #F4F8F9 none;
2843     border: 1px solid #B9D8D9;
2844     color: #555555;
2845     font-weight: normal;
2846 }
2847
2848 .ui-state-hover,
2849 .ui-widget-content .ui-state-hover,
2850 .ui-widget-header .ui-state-hover,
2851 .ui-state-focus,
2852 .ui-widget-content .ui-state-focus,
2853 .ui-widget-header .ui-state-focus {
2854     background: #E6F0F2 none;
2855     border: 1px solid #B9D8D9;
2856     color: #212121;
2857     font-weight: normal;
2858 }
2859
2860 .ui-state-active,
2861 .ui-widget-content .ui-state-active,
2862 .ui-widget-header .ui-state-active {
2863     background: #FFFFFF none;
2864     border: 1px solid #AAAAAA;
2865     color: #212121;
2866     font-weight: normal;
2867 }
2868
2869 .ui-state-highlight,
2870 .ui-widget-content .ui-state-highlight,
2871 .ui-widget-header .ui-state-highlight {
2872     background: #FFF4C6;
2873     border: 1px solid #FED22F;
2874     color: #363636;
2875 }
2876
2877 .ui-state-error,
2878 .ui-widget-content .ui-state-error,
2879 .ui-widget-header .ui-state-error {
2880     background: #FEF1EC;
2881     border: 1px solid #CD0A0A;
2882     color: #CD0A0A;
2883 }
2884
2885 // Override jQuery Autocomplete
2886 .ui-autocomplete {
2887     box-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
2888     cursor: default;
2889     position: absolute;
2890
2891     &.ui-widget-content {
2892         .ui-state-hover {
2893             background: #E6F0F2 none;
2894             border: 1px solid #B9D8D9;
2895             color: #212121;
2896             font-weight: normal;
2897         }
2898     }
2899 }
2900
2901 .ui-autocomplete-loading {
2902     background: #FFF url("../img/spinner-small.gif") right center no-repeat;
2903 }
2904
2905 // jQuery UI standard tabs
2906 .ui-menu {
2907     li {
2908         list-style: none;
2909     }
2910 }
2911
2912 .ui-tabs-nav {
2913     .ui-tabs-active a,
2914     a:hover,
2915     a:focus,
2916     a:active,
2917     span.a {
2918         background: none repeat scroll 0 0 transparent;
2919         outline: 0 none;
2920     }
2921
2922     &.ui-widget-header {
2923         background: none;
2924         border: 0;
2925     }
2926 }
2927
2928 .ui-tabs {
2929     .ui-tabs-nav {
2930         li {
2931             background: #E6F0F2 none;
2932             border: 1px solid #B9D8D9;
2933             margin-right: .4em;
2934             top: 1px;
2935
2936             &.ui-tabs-active {
2937                 background-color: #FFFFFF;
2938                 border: 1px solid #B9D8D9;
2939                 border-bottom-width: 0;
2940
2941                 a {
2942                     color: #000;
2943                     font-weight: bold;
2944                 }
2945
2946                 &.ui-state-hover {
2947                     background: #FFF none;
2948                 }
2949             }
2950
2951             &.ui-state-default {
2952                 &.ui-state-hover {
2953                     background: #EDF4F5 none;
2954                 }
2955             }
2956         }
2957     }
2958
2959     .ui-tabs-panel {
2960         border: 1px solid #B9D8D9;
2961     }
2962
2963     &.ui-widget-content {
2964         background: transparent none;
2965         border: 0;
2966     }
2967
2968     .ui-state-default {
2969         a {
2970             color: #004D99;
2971
2972             &:link,
2973             &:visited {
2974                 color: #004D99;
2975             }
2976         }
2977     }
2978
2979     .ui-state-hover {
2980         a {
2981             color: #538200;
2982
2983             &:link,
2984             &:visited {
2985                 color: #538200;
2986             }
2987         }
2988     }
2989
2990 }
2991
2992 .ui-widget {
2993     font-family: inherit;
2994     font-size: inherit;
2995
2996     input,
2997     select,
2998     textarea,
2999     button {
3000         font-family: inherit;
3001         font-size: inherit;
3002     }
3003 }
3004
3005 .statictabs {
3006     ul {
3007         background: none repeat scroll 0 0 transparent;
3008         border: 0 none;
3009         border-bottom-left-radius: 4px;
3010         border-bottom-right-radius: 4px;
3011         border-top-left-radius: 4px;
3012         border-top-right-radius: 4px;
3013         color: #222222;
3014         font-size: 100%;
3015         font-weight: bold;
3016         line-height: 1.3;
3017         list-style: none outside none;
3018         margin: 0;
3019         outline: 0 none;
3020         padding: .2em .2em 0;
3021         text-decoration: none;
3022
3023         &::after {
3024             clear: both;
3025         }
3026
3027         &::before,
3028         &::after {
3029             content: "";
3030             display: table;
3031         }
3032
3033         li {
3034             background: none repeat scroll 0 0 #E6F0F2;
3035             border: 1px solid #B9D8D9;
3036             border-bottom: 0 none;
3037             border-top-left-radius: 4px;
3038             border-top-right-radius: 4px;
3039             color: #555555;
3040             float: left;
3041             font-weight: normal;
3042             list-style: none outside none;
3043             margin-bottom: 0;
3044             margin-right: .4em;
3045             padding: 0;
3046             position: relative;
3047             top: 1px;
3048             white-space: nowrap;
3049
3050             &.active {
3051                 background-color: #FFFFFF;
3052                 color: #212121;
3053                 font-weight: normal;
3054                 padding-bottom: 1px;
3055
3056                 a {
3057                     background: none repeat scroll 0 0 transparent;
3058                     color: #000000;
3059                     cursor: text;
3060                     font-weight: bold;
3061                     outline: 0 none;
3062                     top: 1px;
3063                 }
3064             }
3065
3066             a {
3067                 color: #004D99;
3068                 cursor: pointer;
3069                 float: left;
3070                 padding: .5em 1em;
3071                 text-decoration: none;
3072
3073                 &:hover {
3074                     background-color: #EDF4F5;
3075                     border-top-left-radius: 4px;
3076                     border-top-right-radius: 4px;
3077                     color: #538200;
3078                 }
3079             }
3080         }
3081     }
3082
3083     .tabs-container {
3084         background: none repeat scroll 0 0 transparent;
3085         border: 1px solid #B9D8D9;
3086         border-bottom-left-radius: 4px;
3087         border-bottom-right-radius: 4px;
3088         color: #222222;
3089         display: block;
3090         padding: 1em 1.4em;
3091     }
3092 }
3093
3094 .authref {
3095     font-style: normal;
3096     text-indent: 4em;
3097 }
3098
3099 .seefrom,
3100 .seealso {
3101     font-style: italic;
3102     text-indent: 2em;
3103 }
3104
3105 #authfinderops {
3106     float: right;
3107 }
3108
3109 .authorizedheading {
3110     font-weight: bold;
3111 }
3112
3113 .authres_notes,
3114 .authres_seealso,
3115 .authres_otherscript {
3116     padding-top: 3px;
3117 }
3118
3119 .authres_notes {
3120     font-style: italic;
3121 }
3122
3123
3124 .contents {
3125     width: 75%;
3126
3127     .r {
3128         display: inline;
3129     }
3130
3131     .t {
3132         display: inline;
3133         font-weight: bold;
3134
3135         &:first-child {
3136             &::before {
3137                 content: "→ ";
3138             }
3139         }
3140
3141         &::before {
3142             content: "\A→ ";
3143             white-space: pre;
3144         }
3145     }
3146 }
3147
3148 .contentblock {
3149     margin-left: 2em;
3150     position: relative;
3151 }
3152
3153 #hierarchies {
3154     a {
3155         color: #069;
3156         font-weight: normal;
3157         text-decoration: underline;
3158
3159         &:hover {
3160             color: #990033;
3161         }
3162     }
3163 }
3164
3165 #didyoumeanopac,
3166 #didyoumeanintranet {
3167     float: left;
3168     width: 260px;
3169 }
3170
3171 .pluginlist {
3172     padding-bottom: 10px;
3173 }
3174
3175 .plugin {
3176     margin: 0 1em 1em 0;
3177 }
3178
3179 .pluginname {
3180     background-color: #E6F0F2;
3181     cursor: move;
3182     margin: .3em;
3183     padding-bottom: 4px;
3184     padding-left: .2em;
3185
3186     .ui-icon {
3187         float: right;
3188     }
3189 }
3190
3191 .plugindesc {
3192     padding: .4em;
3193 }
3194
3195 .ui-sortable-placeholder {
3196     border: 1px dotted #000;
3197     height: 80px;
3198     visibility: visible;
3199
3200     * {
3201         visibility: hidden;
3202     }
3203 }
3204
3205 // jQuery UI Datepicker
3206 .ui-datepicker {
3207     box-shadow: 1px 1px 3px 0 #666;
3208
3209     table {
3210         border: 0;
3211         border-collapse: collapse;
3212         font-size: .9em;
3213         margin: 0 0 .4em;
3214         width: 100%;
3215     }
3216
3217     th {
3218         background: transparent none;
3219         border: 0;
3220         font-weight: bold;
3221         padding: .7em .3em;
3222         text-align: center;
3223     }
3224 }
3225
3226 .ui-datepicker-trigger {
3227     margin: 0 3px;
3228     vertical-align: middle;
3229 }
3230
3231 // css for timepicker
3232 .ui-timepicker-div {
3233     dl {
3234         text-align: left;
3235
3236         dd {
3237             margin: 0 10px 10px 65px;
3238         }
3239
3240         dt {
3241             height: 25px;
3242             margin-bottom: -25px;
3243         }
3244
3245         td {
3246             font-size: 90%;
3247         }
3248     }
3249
3250     .ui-widget-header {
3251         margin-bottom: 8px;
3252     }
3253 }
3254
3255 .ui-tpicker-grid-label {
3256     background: none;
3257     border: 0;
3258     margin: 0;
3259     padding: 0;
3260 }
3261
3262 .ui_tpicker_second,
3263 .ui_tpicker_millisec,
3264 .ui_tpicker_microsec {
3265     display: none;
3266 }
3267
3268 // jQuery UI Accordion
3269 .ui-accordion-header,
3270 .ui-widget-content .ui-accordion-header {
3271     font-size: 110%;
3272     font-weight: bold;
3273 }
3274
3275 video {
3276     width: 480px;
3277 }
3278
3279 // Bootstrap overrides
3280 button,
3281 .btn {
3282     border-color: #ADADAD #ADADAD #949494;
3283     font-family: $font-main;
3284
3285     &.btn-link {
3286         border: 0;
3287     }
3288 }
3289
3290 .btn-xs,
3291 .btn-group-xs > .btn {
3292     font-size: 10.5px;
3293     padding: 3px 5px;
3294 }
3295
3296 .dropdown-menu {
3297     border-color: rgba(0, 0, 0, .2);
3298     border-top: 0;
3299     font-size: 12px;
3300
3301     li {
3302         list-style: none outside none;
3303
3304         > a,
3305         &.nav-header {
3306             padding: 4px 20px;
3307             cursor: pointer;
3308
3309             &:hover,
3310             &:focus {
3311                 background-image: linear-gradient(to bottom, #0088CC, #0077B3);
3312                 background-repeat: repeat-x;
3313                 color: #FFFFFF;
3314                 text-decoration: none;
3315             }
3316         }
3317     }
3318 }
3319
3320 .navbar {
3321     color: #333;
3322     min-height: 20px;
3323
3324     .nav {
3325         > li {
3326             list-style: none outside none;
3327             padding: 0 .6em;
3328
3329             > a {
3330                 color: #004D99;
3331                 font-weight: bold;
3332                 padding: .4em .2em;
3333
3334                 &:focus,
3335                 &:hover {
3336                     color: #538200;
3337                 }
3338             }
3339         }
3340
3341         li {
3342             .dropdown {
3343                 &.open > .dropdown-toggle:focus,
3344                 &.active > .dropdown-toggle:focus,
3345                 &.open.active > .dropdown-toggle:focus {
3346                     background: #E6F0F2 none;
3347                     box-shadow: none;
3348                 }
3349             }
3350         }
3351     }
3352
3353
3354 }
3355
3356 #changelanguage {
3357     min-height: $language-footer-min-height;
3358
3359     .dropdown-menu {
3360         > li {
3361             > a,
3362             > span {
3363                 padding: 5px 15px;
3364             }
3365         }
3366     }
3367
3368     .navbar-text {
3369         margin: 0;
3370
3371         span {
3372             display: block;
3373             line-height: 20px;
3374         }
3375     }
3376 }
3377
3378 .loggedout {
3379     color: #004D99;
3380     font-weight: bold;
3381     padding: .4em .2em;
3382 }
3383
3384 .navbar-static-top {
3385     .navbar-inner {
3386         background: #E6F0F2 none;
3387         border: 0;
3388         box-shadow: none;
3389         min-height: 0;
3390         padding-left: 0;
3391     }
3392 }
3393
3394 .navbar-fixed-bottom {
3395     .navbar-inner {
3396         min-height: 0;
3397         padding: .4em 0;
3398     }
3399
3400     .nav > li {
3401         border-right: 1px solid #CCC;
3402
3403         > a {
3404             font-weight: normal;
3405         }
3406
3407         &:last-child {
3408             border-right: 0;
3409         }
3410
3411         &.navbar-text {
3412             line-height: normal;
3413             padding: .4em .7em;
3414         }
3415     }
3416 }
3417
3418 .tooltip {
3419     &.bottom {
3420         .tooltip-arrow {
3421             border-bottom-color: #EEE;
3422         }
3423
3424         .tooltip-inner {
3425             background-color: #FFFFFF;
3426             border: 1px solid rgba(0, 0, 0, .2);
3427             box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
3428             color: #000;
3429             font-size: 120%;
3430             padding: 1em;
3431         }
3432     }
3433 }
3434
3435 .separator {
3436     color: #666;
3437     padding: 0 .2em;
3438 }
3439
3440 .close {
3441     filter: none;
3442     float: none;
3443     font-size: inherit;
3444     font-weight: normal;
3445     line-height: 1.5;
3446     opacity: inherit;
3447     position: inherit;
3448     right: auto;
3449     text-shadow: none;
3450     top: auto;
3451
3452     &:hover {
3453         color: inherit;
3454         filter: inherit;
3455         font-size: inherit;
3456         opacity: inherit;
3457     }
3458 }
3459
3460
3461 label {
3462     .radio &,
3463     .checkbox & {
3464         margin-left: 20px;
3465         padding-left: 0;
3466     }
3467 }
3468
3469 .radio {
3470     input {
3471         &[type="radio"] {
3472             margin-left: 0;
3473             position: relative;
3474         }
3475     }
3476 }
3477
3478 .checkbox {
3479     input {
3480         &[type="checkbox"] {
3481             margin-left: 0;
3482             position: relative;
3483         }
3484     }
3485 }
3486
3487 .modal-header {
3488     .closebtn {
3489         margin-top: 4px;
3490     }
3491 }
3492
3493 .closebtn {
3494     color: #000;
3495     filter: alpha(opacity = 20);
3496     float: right;
3497     font-size: 21px;
3498     font-weight: bold;
3499     line-height: 1;
3500     opacity: .2;
3501     text-shadow: 0 1px 0 #FFFFFF;
3502
3503     &:hover,
3504     &:focus {
3505         color: #000;
3506         cursor: pointer;
3507         filter: alpha(opacity = 50);
3508         opacity: .5;
3509         text-decoration: none;
3510     }
3511 }
3512
3513 .modal-body {
3514     background-color: #FFF;
3515     overflow-y: auto;
3516
3517     fieldset,
3518     ol {
3519         background-color: transparent;
3520         border: 0;
3521         margin: 0;
3522         padding: 0;
3523     }
3524 }
3525
3526 .modal-content {
3527     background-color: #EDF4F6;
3528 }
3529
3530 .btn-group {
3531     label,
3532     select {
3533         font-size: 13px;
3534     }
3535 }
3536
3537 .tooltip-inner {
3538     white-space: pre-wrap;
3539 }
3540
3541 pre {
3542     background-color: transparent;
3543     border: 0;
3544     border-radius: 0;
3545     color: inherit;
3546     display: block;
3547     font-size: inherit;
3548     line-height: inherit;
3549     margin: 0;
3550     padding: 0;
3551     word-break: break-all;
3552     word-wrap: break-word;
3553 }
3554
3555 code {
3556     background-color: transparent;
3557     border-radius: 0;
3558     color: inherit;
3559     font-size: inherit;
3560     padding: 0;
3561 }
3562
3563 .pagination > li > a,
3564 .pagination > li > span {
3565     font-weight: bold;
3566 }
3567
3568 // End Bootstrap overrides
3569
3570 .waiting {
3571     cursor: wait;
3572 }
3573
3574 #jobpanel,
3575 #jobstatus,
3576 #jobfailed {
3577     display: none;
3578 }
3579
3580 #jobstatus {
3581     margin: .4em;
3582 }
3583
3584 #jobprogress {
3585     background: url("../img/progress.png") -300px 0 no-repeat;
3586     border: 1px solid #666;
3587     display: inline-block;
3588     height: 10px;
3589     width: 200px;
3590  }
3591
3592 .progress_panel {
3593     border: 2px solid #EEE;
3594     border-radius: 5px;
3595     clear: both;
3596     font-size: 120%;
3597     margin: 1em 0;
3598     padding: 1em;
3599 }
3600
3601 progress {
3602     width: 50%;
3603 }
3604
3605 #selections {
3606     white-space: normal;
3607     width: 100%;
3608
3609     input {
3610         margin: 0 2px;
3611         vertical-align: middle;
3612     }
3613
3614     span {
3615         background-color: #EBF3FF;
3616         border-radius: 5px;
3617         font-size: 75%;
3618         line-height: 240%;
3619         margin: 3px;
3620         padding: 3px;
3621         white-space: nowrap;
3622
3623         &.selected {
3624             background-color: #CCE0FC;
3625         }
3626     }
3627 }
3628
3629 #changepasswordf {
3630     input {
3631         &[type="text"],
3632         &[type="password"] {
3633             font-family: $font-monospace;
3634             font-size: 140%;
3635             padding: .3em;
3636         }
3637     }
3638 }
3639
3640 // Class to be added to toolbar when it starts being fixed at the top of the screen
3641
3642 .floating {
3643     box-shadow: 0 3px 2px 0 rgba(0, 0, 0, .5);
3644     z-index: 100;
3645 }
3646
3647 .inline {
3648     display: inline;
3649 }
3650
3651 .nowrap {
3652     white-space: nowrap;
3653 }
3654
3655 .tag_editor {
3656     background: transparent url("../img/edit-tag.png") top left no-repeat;
3657     display: block;
3658     float: left;
3659     height: 16px;
3660     margin: 4px;
3661     overflow: hidden;
3662     text-indent: 100%;
3663     white-space: nowrap;
3664     width: 16px;
3665 }
3666
3667 .browse-controls {
3668     margin-left: 1.1em;
3669     margin-right: .5em;
3670     padding-bottom: 1em;
3671     padding-top: 1em;
3672 }
3673
3674 #browse-return-to-results {
3675     border-top-left-radius: 3px;
3676     border-top-right-radius: 3px;
3677     display: block;
3678     text-align: center;
3679 }
3680
3681 .browse-button {
3682     color: #004D99;
3683     display: inline-block;
3684     padding: .4em .6em;
3685
3686     &:hover {
3687         background: #FAFAFA;
3688     }
3689 }
3690
3691 span {
3692     &.browse-button {
3693         background: #FAFAFA;
3694         color: #222;
3695     }
3696
3697     &.circ-hlt {
3698         color: #CC0000;
3699         font-weight: bold;
3700     }
3701
3702     &.expired {
3703         color: #990000;
3704         font-style: italic;
3705     }
3706
3707     &.name {
3708         font-style: italic;
3709         font-weight: bold;
3710     }
3711
3712     &.permissiondesc {
3713         font-weight: normal;
3714     }
3715
3716     &.required {
3717         color: #C00;
3718         font-style: italic;
3719         margin-left: .5em;
3720     }
3721 }
3722
3723
3724 .result-biblio-itemtype {
3725     float: right;
3726     font-size: 85%;
3727     margin: .5em;
3728     padding: .5em;
3729     text-align: center;
3730
3731     img {
3732         display: block;
3733         margin: auto;
3734         margin-bottom: 2px;
3735     }
3736 }
3737
3738 .browse-label,
3739 .browse-prev-next {
3740     border: 1px solid #B9D8D9;
3741 }
3742
3743 .browse-label {
3744     background-color: #E8F0F6;
3745     border-top-left-radius: 5px;
3746     border-top-right-radius: 5px;
3747 }
3748
3749 .browse-prev-next {
3750     border-bottom-left-radius: 5px;
3751     border-bottom-right-radius: 5px;
3752     border-top-width: 0;
3753 }
3754
3755 #browse-previous {
3756     border-bottom-left-radius: 5px;
3757     border-right: 1px solid #B9D8D9;
3758     padding-right: 1em;
3759 }
3760
3761 #browse-next {
3762     border-bottom-right-radius: 5px;
3763     border-top-width: 0;
3764     float: right;
3765     padding-right: 1em;
3766 }
3767
3768 .loading-overlay {
3769     background-color: #FFFFFF;
3770     cursor: wait;
3771     height: 100%;
3772     left: 0;
3773     opacity: .7;
3774     position: fixed;
3775     top: 0;
3776     width: 100%;
3777     z-index: 1000;
3778
3779     div {
3780         background: transparent url("../img/loading.gif") top left no-repeat;
3781         font-size: 175%;
3782         font-weight: bold;
3783         height: 2em;
3784         left: 50%;
3785         margin: -1em 0 0 -2.5em;
3786         padding-left: 50px;
3787         position: absolute;
3788         top: 50%;
3789         width: 15em;
3790     }
3791 }
3792
3793 #merge_invoices {
3794     display: none;
3795     margin: 1em auto;
3796 }
3797
3798 #merge {
3799     margin: .5em 0 0;
3800 }
3801
3802 #merge_table {
3803     tr {
3804         &.active {
3805             td {
3806                 background-color: #FFFFCC;
3807             }
3808         }
3809     }
3810 }
3811
3812 .renewals {
3813     display: block;
3814     font-size: .8em;
3815     padding: .5em;
3816 }
3817
3818 #transport-types {
3819     padding-top: .5px;
3820 }
3821
3822 #i18nMenu {
3823     .navbar-text {
3824         .currentlanguage {
3825             color: #000;
3826             font-weight: bold;
3827         }
3828     }
3829
3830     a {
3831         &.currentlanguage {
3832             &:link,
3833             &:visited {
3834                 font-weight: bold;
3835             }
3836         }
3837
3838         .sublanguage-selected {
3839             color: #000;
3840             font-weight: bold;
3841         }
3842     }
3843 }
3844
3845 .onsite_checkout-select {
3846     label,
3847     #circ_circulation_issue & {
3848         font-size: inherit;
3849         font-weight: normal;
3850     }
3851 }
3852
3853 .onsite_checkout {
3854     color: #CC0000;
3855 }
3856
3857 .onsite-checkout-only {
3858     background-color: rgba(255, 242, 206, .5);
3859     border: 1px solid #FFF2CE;
3860     border-radius: 4px;
3861 }
3862
3863 .branchgriditem {
3864     background-color: #FFFFFF;
3865     border: 1px solid #B9D8D9;
3866     border-radius: 3px;
3867     display: table-cell;
3868     float: left;
3869     margin: 3px;
3870     padding: .3em;
3871 }
3872
3873 .branchgridrow {
3874     display: table-row;
3875 }
3876
3877 .branchselector {
3878     display: table;
3879 }
3880
3881 .hq-author {
3882     font-weight: bold;
3883 }
3884
3885 #cn_browser_table_wrapper > #cn_browser_table {
3886     margin: auto;
3887     width: 90%;
3888 }
3889
3890 #new_rule {
3891     background-color: #F4F8F9;
3892     border: 2px solid #B9D8D9;
3893     border-radius: 5px;
3894     display: none;
3895     margin: .3em;
3896     padding: .3em;
3897 }
3898
3899
3900 .blocks {
3901     margin-bottom: .3em;
3902 }
3903
3904 .remove_rule {
3905     font-size: 80%;
3906     padding-left: .7em;
3907 }
3908
3909 .underline {
3910     text-decoration: underline;
3911 }
3912
3913 .overline {
3914     text-decoration: overline;
3915 }
3916
3917 .order-control {
3918     padding-right: 5px;
3919 }
3920
3921 #borrower_message {
3922     margin-top: 10px;
3923 }
3924
3925 .form-group {
3926     margin-bottom: 10px;
3927
3928     label {
3929         font-weight: bold;
3930     }
3931 }
3932
3933
3934 .form-message {
3935     background-color: #FFF;
3936     border: 1px solid #A4BEDD;
3937     border-radius: 5px;
3938     margin: 1em;
3939     padding: .5em;
3940 }
3941
3942 .modal-textarea {
3943     width: 98%;
3944 }
3945
3946 #pat_member {
3947     #patron_list_dialog,
3948     #searchresults {
3949         display: none;
3950     }
3951 }
3952
3953 #patron_search {
3954     #filters {
3955         display: none;
3956     }
3957 }
3958
3959 #fixedlengthbuilderaction {
3960     border: 3px solid #E6F0F2;
3961     left: 80%;
3962     padding: 5px;
3963     position: relative;
3964     top: -80px;
3965     width: 12%;
3966 }
3967
3968 .navbar-default {
3969     .navbar-nav {
3970         > .open {
3971             > a {
3972                 &:hover,
3973                 &:focus {
3974                     background: #E6F0F2 none;
3975                     box-shadow: none;
3976                 }
3977             }
3978         }
3979     }
3980
3981     &.navbar-fixed-bottom {
3982         .navbar-nav {
3983             > .open {
3984                 > a {
3985                     &:hover,
3986                     &:focus {
3987                         background: transparent none;
3988                         box-shadow: none;
3989                     }
3990                 }
3991             }
3992         }
3993     }
3994 }
3995
3996 #interlibraryloans {
3997     #dataPreviewLabel {
3998         margin: .3em 0;
3999     }
4000
4001     .bg-info {
4002         overflow: auto;
4003         position: relative;
4004     }
4005
4006     .format {
4007         h4 {
4008             margin-bottom: 20px;
4009         }
4010
4011         h5 {
4012             margin-top: 20px;
4013         }
4014
4015         input {
4016             margin: 10px 0;
4017         }
4018
4019         li {
4020             list-style: none;
4021         }
4022     }
4023
4024     #add-new-fields {
4025         margin: 1em;
4026     }
4027
4028     #column-toggle,
4029     #reset-toggle {
4030         font-weight: 700;
4031         line-height: 1.5em;
4032         margin: 15px 0;
4033     }
4034
4035     #freeform-fields {
4036         .custom-name {
4037             margin-right: 1em;
4038             text-align: right;
4039             width: 9em;
4040         }
4041
4042         .delete-new-field {
4043             margin-left: 1em;
4044         }
4045     }
4046
4047     #search-summary {
4048         position: absolute;
4049         top: 50%;
4050         transform: translateY(-50%);
4051     }
4052 }
4053
4054 .ill-view-panel {
4055     margin-top: 15px;
4056
4057     .notesopac {
4058         display: inline-block;
4059     }
4060 }
4061
4062 #requestattributes {
4063     font-family: monospace;
4064     line-height: 1.3em;
4065 }
4066
4067 #ill-requests {
4068     width: 100% !important;
4069 }
4070
4071 #stockrotation {
4072     h3 {
4073         margin: 30px 0 10px 0;
4074     }
4075     .dialog {
4076         h3 {
4077             margin: 10px 0;
4078         }
4079         margin-bottom: 20px;
4080     }
4081     .highlight_stage {
4082         font-weight: bold;
4083     }
4084 }
4085
4086 #catalog_stockrotation .highlight_stage {
4087     font-weight: bold;
4088 }
4089
4090 #stockrotation {
4091     #rota_form {
4092         textarea {
4093             width: 300px;
4094             height: 100px;
4095         }
4096         #name {
4097             width: 300px;
4098         }
4099         fieldset {
4100             width: auto;
4101         }
4102     }
4103     #stage_form fieldset, #add_rota_item_form fieldset {
4104         width: auto;
4105     }
4106     .dialog.alert {
4107         ul {
4108             margin: 20px 0;
4109         }
4110         li {
4111             list-style-type: none;
4112         }
4113     }
4114 }
4115
4116 #catalog_stockrotation {
4117     .item_select_rota {
4118         vertical-align: middle;
4119     }
4120     h1 {
4121         margin-bottom: 20px;
4122     }
4123 }
4124
4125 #stockrotation td.actions, #catalog_stockrotation td.actions {
4126     vertical-align: middle;
4127 }
4128
4129 #stockrotation .stage, #catalog_stockrotation .stage {
4130     display: inline-block;
4131     padding: 5px 7px;
4132     margin: 3px 0 3px 0;
4133     border-radius: 5px;
4134     background-color: rgba(0, 0, 0, 0.1);
4135 }
4136
4137 #stage_list_headings {
4138     font-weight: bold;
4139     span {
4140         padding: 3px;
4141     }
4142 }
4143
4144 #manage_stages {
4145     ul {
4146         padding-left: 0;
4147     }
4148     li {
4149         list-style: none;
4150         margin-bottom: 5px;
4151         span {
4152             padding: 6px 3px;
4153         }
4154     }
4155     .stagename {
4156         width: 15em;
4157         display: inline-block;
4158     }
4159     .stageduration {
4160         width: 10em;
4161         display: inline-block;
4162     }
4163     .stageactions {
4164         display: inline-block;
4165     }
4166     li:nth-child(odd) {
4167         background-color: #F3F3F3;
4168     }
4169     .drag_handle {
4170         margin-right: 6px;
4171         cursor: move;
4172     }
4173     .drag_placeholder {
4174         height: 2em;
4175         border: 1px dotted #aaa;
4176     }
4177     h3 {
4178         display: inline-block;
4179     }
4180     #ajax_status {
4181         display: inline-block;
4182         border: 1px solid #bcbcbc;
4183         border-radius: 5px;
4184         padding: 5px;
4185         margin-left: 10px;
4186         background: #f3f3f3;
4187     }
4188     #manage_stages_help {
4189         margin: 20px 0;
4190     }
4191 }
4192
4193 #helper {
4194     span {
4195         display: none;
4196     }
4197 }
4198
4199 #logged-in-info-full {
4200     display: none;
4201 }
4202
4203 .loggedin-menu-label {
4204     color: #777;
4205     font-size: 12px;
4206     line-height: 1.42857143;
4207     padding: 4px 12px;
4208     white-space: nowrap;
4209
4210     span {
4211         color: #000;
4212         font-weight: bold;
4213     }
4214
4215     &.divider {
4216         padding: 0;
4217     }
4218 }
4219
4220 .lastborrower {
4221     background-color: #E6F0F2;
4222     border: 1px solid #95C6D0;
4223     box-shadow: 1px 1px 1px 0 #999;
4224     color: #CC0000;
4225     margin: .4em 0;
4226     padding: .3em .5em .3em .5em;
4227 }
4228
4229 #lastborrower-ref {
4230     border-radius: 5px 0px 0px 5px;
4231     float: left;
4232 }
4233
4234 #lastborrower-remove {
4235     border-radius: 0px 5px 5px 0px;
4236     cursor: pointer;
4237     float: right;
4238 }
4239
4240 #lastborrower-window {
4241     display: none;
4242     position: absolute;
4243     right: 5px;
4244     top: 100px;
4245 }
4246
4247 /* ==== MODULE LINKS - Start ==== */
4248 .buttons-list {
4249     // List containing the module links
4250     margin-bottom: 30px;
4251     padding: 0;
4252
4253     li {
4254         // Standard attributes for the list elements
4255         list-style-type: none;
4256
4257         a {
4258             &.circ-button {
4259                 // Class used for each module link
4260                 background-color: #F4F8F9;
4261                 background-position: 5px 3px;
4262                 background-repeat: no-repeat;
4263                 border: 2px solid #B9D8D9;
4264                 border-radius: 6px;
4265                 box-sizing: content-box;
4266                 color: #000000;
4267                 display: block;
4268                 font-size: 110%;
4269                 font-weight: bold;
4270                 margin: .5em 0;
4271                 max-width: 260px;
4272                 padding: 8px;
4273                 text-decoration: none;
4274
4275                 &:hover {
4276                     // Class used for each module link hover state
4277                     border-color: #538200;
4278                     color: #538200;
4279                 }
4280             }
4281         }
4282     }
4283 }
4284
4285 .about h2 {
4286     border-bottom: 1px solid #B9D8D9;
4287     padding: .5em .2em;
4288     margin:  .5em 0;
4289 }
4290
4291 .columns-3 {
4292     columns: 3 auto;
4293     column-gap: 2.5em;
4294 }
4295
4296 .columns-4 {
4297     columns: 4 auto;
4298     column-gap: 2em;
4299 }
4300
4301 // ==== MODULE LINKS - End ====
4302
4303 #catalog-search-link {
4304     border-right: 1px solid lighten( #E6F0F2, 15% );
4305     padding-right: .3em;
4306 }
4307
4308 #catalog-search-dropdown {
4309     padding: 0;
4310
4311     & > a {
4312         border-left: 1px solid darken( #B4D2D8, 5% );
4313         margin-right: .6em;
4314         padding: .4em .6em;
4315
4316         &:hover,
4317         &.catalog-search-dropdown-hover {
4318             background-color: darken( #E6F0F2, 5% );
4319             border-left: 1px solid darken( #B4D2D8, 15% );
4320         }
4321     }
4322 }
4323
4324 .adlibris-cover {
4325     max-height: 120px;
4326 }
4327
4328 .adlibris-cover-big {
4329     max-height: 200px;
4330 }
4331
4332 #tools_holidays {
4333     .radio,
4334     .checkbox {
4335         label {
4336             margin-left: 0;
4337         }
4338     }
4339 }
4340
4341 @media (min-width: 200px) {
4342     .navbar-nav > li {
4343         float: left;
4344     }
4345
4346     .navbar-right {
4347         float: right !important;
4348         margin-right: -15px;
4349     }
4350
4351     .navbar-nav {
4352         float: left;
4353         margin: 0;
4354
4355         .open {
4356             .dropdown-menu {
4357                 background-color: #FFF;
4358                 border: 1px solid rgba(0, 0, 0, .15);
4359                 box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
4360                 float: left;
4361                 position: absolute;
4362                 width: auto;
4363
4364                 &.dropdown-menu-left {
4365                     left: auto;
4366                     right: 0;
4367                 }
4368
4369                 &.dropdown-menu-right {
4370                     right: auto;
4371                 }
4372             }
4373         }
4374     }
4375
4376     .navbar-default {
4377         .navbar-nav {
4378             .open {
4379                 .dropdown-menu {
4380                     > li {
4381                         > a {
4382                             &:hover,
4383                             &:focus {
4384                                 background-color: #0081C2;
4385                                 background-image: linear-gradient(to bottom, #0088CC, #0077B3);
4386                                 background-repeat: repeat-x;
4387                                 color: #FFFFFF;
4388                                 text-decoration: none;
4389                             }
4390                         }
4391                     }
4392                 }
4393             }
4394         }
4395     }
4396 }
4397
4398 @media (min-width: 800px) {
4399     #helper {
4400         i {
4401             display: none;
4402         }
4403
4404         span {
4405             display: inline;
4406         }
4407     }
4408
4409     #logged-in-info-full {
4410         display: inline;
4411     }
4412
4413     #logged-in-info-brief {
4414         display: none;
4415     }
4416
4417     .loggedin-menu-label {
4418         display: none;
4419     }
4420 }
4421
4422 div#makechart ol li {
4423     list-style: none;
4424 }