* fix wiki navbar (partly ;-)
[citadel.git] / webcit / static / webcit.css
1 /*
2  * Copyright 2005 - 2010 The Citadel Team
3  * Licensed under the GPL V3
4  */
5
6 @import url("datepicker.css");
7 @media print {
8         input#toggler, .toolbar { display: none }
9 }
10
11 /* Typography & colors */
12
13 html {  font-size: 100%;}
14
15 body { font-size: 100%;}
16
17 #banner h1 { font-size: 160%; }
18
19 #banner h2,#banner .titlebar, .address_book_popup_title {
20         font-size: 130%;
21 }
22
23 #button, #content .msgbuttons a, .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td {
24         font-size: 100%;
25 }
26
27 #nummsgs {
28         font-size: 75%;
29 }
30
31 #message_list_hdr table {
32         font-size: 80%;
33 }
34
35 #navbar {
36         font-size: 75%;
37         position: absolute;
38         bottom: 0;
39         width: 100%;
40 }
41
42 .mailbox_summary {
43         font-size: 80%;
44 }
45
46 #online_users li a {
47         font-size: 80% !important;
48 }
49 .marked_row {
50         color: white;
51 }
52
53 /* Color */
54
55 body {
56         background-color: #6C91A6;
57         font-family: sans-serif;
58 }
59
60 #iconbar_container, .boxcontent,.service form div,table.altern .odd, #message_list, .message_content, #roomlist_div,.editednode,.mailbox_summary, .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .wiki_history_background, .wiki_pagelist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul, #summary_view {
61         background-color: #FFF;
62         color: #000;
63 }
64
65 #login_form, #message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt {
66         background-color: #CCC;
67 }
68
69 .box, #online_users li.inactiveuser a {
70         background-color: transparent;
71 }
72
73 .banner .infos {
74         cursor: help;
75 }
76
77 .login_message {
78         color: #AD1C00;
79         font-weight: 700;
80         text-transform: uppercase;
81 }
82
83 .ib_button, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, .iconbar_text{
84         background-color: #F0FFFF;
85         color: #333;
86
87 #online_users:hover { /* separate in order for override */
88         background-color: #F0FFFF !important;
89         color: #333 !important;
90 }
91 #iconbar #button {
92         border: none;
93         list-style: none;
94 }
95
96 .ib_button {
97         font-size: 80%;
98 }
99
100 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
101         border: 1px solid #333;
102         overflow: scroll;
103 }
104
105
106 .buttons a,.roomlist_floor,.tablabel,.treetitle {
107         color: #000;
108         font-weight: 700;
109 }
110
111 .ib_button {
112         border: none;
113         border-bottom: 2px groove #CCC;
114         border-right: 2px groove #CCC;
115 }
116
117 .logo_citadel a,.logo_citadel img {
118         border: none;
119 }
120
121 .logo,.logo_citadel, .iconbar_text {
122         border: none;
123         border-bottom: 1px solid #AAA;
124 }
125
126 .ib_button_link, .ib_button_link:visited, .ib_button_link:link, #online_users a {
127         color: #000;
128         text-decoration: none;
129 }
130
131 #online_users li {
132         border: none;
133         border-top: 1px solid #AAA;
134 }
135
136 #banner h1,#banner h2,.mimepart div,.required {
137         font-weight: 700;
138 }
139
140 #banner ul.room_actions li.start_page a, #navbar, .selector_top,.selector_bottom {
141         background-color: #022750;
142         border-top: 1px solid black;
143         border-bottom: 1px solid black;
144         color: #FFF;
145 }
146
147 .start_page {
148         font-size: 60%;
149 }
150
151 #banner {
152         background-color: #004E79;
153         color: #FFF;
154         margin: 0;
155         padding: 0;
156         top: 0;
157         height: 120px;          /* when changing this, also change #content */
158         position: fixed;
159         width: 84%;             /* when changing this, also change #iconbar and #content */
160         left: 16%;              /* when changing this, also change #iconbar and #content */
161         z-index: 3;
162         overflow: hidden;
163 }
164
165 #banner a {
166         color: #FFF
167 }
168
169 .room_actions form select {
170         cursor: pointer;
171 }
172
173 #content {
174         position: fixed;
175         top: 120px;             /* when changing this, also change #banner and #iconbar */
176         left: 16%;              /* when changing this, also change #banner and #iconbar */
177         bottom: 0;
178         width: 84%;             /* when changing this, also change #banner and #iconbar */
179         background-color: #6C91A6;
180         color: #000;
181         z-index: 2;
182         overflow-y: auto;
183 }
184
185 #message_list_hdr form input {
186         border: 0;
187 }
188
189 #message_list_hdr select {
190         background-color: #AD1C00;
191         border: 1px solid #6C91A6;
192 }
193
194 #message_list_hdr table {
195         font-style: italic;
196 }
197
198 #resize_msglist {
199         background-image: url(/static/resizegrippy.gif);
200         background-position: center;
201         background-repeat: no-repeat; 
202 }
203
204 #resize_msglist hr {
205         background-color: #999;
206         border: 0;
207         color: #999;
208         height: 3px;
209 }
210
211 .message {
212         border: 1px outset #999;
213         clear: both;
214 }
215
216 .message_header .message_subject {
217         font-style: italic;
218         float: left;    
219 }
220
221 .adminlist {
222         list-style: none;
223 }
224
225 .customize {
226         background-color: #DDC;
227         color: #004;
228         font-style: italic;
229 }
230
231 .default {
232         font-style: normal;
233         text-decoration: underline;
234 }
235
236 .editednodeinput {
237         background-color: #FFF;
238         border: 1px solid #000;
239         color: #000;
240         height: 17px;
241         width: 150px;
242 }
243
244 .error a:link, .error a:visited, .error a:active {
245         background: none;
246         color: #DC143C;
247         text-decoration: underline;
248 }
249
250 .error strong {
251         background: #FFD700;
252         color: #DC143C;
253         text-decoration: none;
254 }
255
256 .error strong a:link,.error strong a:visited,.error strong a:active {
257         background: #FFD700;
258         color: #DC143C;
259 }
260
261 .errormsg {
262         background: none;
263         color: #A00;
264         font-style: italic;
265         font-weight: 700;
266 }
267
268 .floors_config, .roomops_zap {
269         background-color: #700;
270         border: 0;
271 }
272
273 .ib_roomlist_floor, .ib_roomlist_new, .ib_roomlist_old {
274         cursor: pointer;
275 }
276
277 .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new {
278         font-weight: 700;
279 }
280
281 .ib_roomlist_floor {
282         color: #000;
283 }
284
285 .roomlist_new, .ib_roomlist_new {
286         color: #800;
287 }
288
289 .roomlist_old, .ib_roomlist_old {
290         color: #008;
291 }
292
293 .imsg {
294         background: none;
295         color: #AAA;
296         font-style: italic;
297         font-weight: 700;
298 }
299
300 .menubar_bg {
301         background-color: red;
302 }
303
304 .mimepart div span {
305         display: block;
306         font-style: italic;
307 }
308
309 .mimepart dl dd, .mimepart dl dt {
310         border-top: 1px solid #AAA;
311 }
312
313 .mailbox_summary td {
314         /* border-top: 1px solid #AAA; */
315         white-space: nowrap;
316         overflow: hidden;
317 }
318
319 .mimepart dl dt {
320         font-weight: 700;
321 }
322
323 .roomops_cell_label,.boxlabel,.tab_cell_label {
324         background-color: #FF7814;
325         color: #FFF;
326         font-weight: 700;
327 }
328
329 .selectbox {
330         background-color: #FF8000;
331 }
332
333 .tab_cell, .tab_cell_edit {
334         background-color: #CCC;
335         font-weight: 700;
336 }
337
338 .tabcontent {
339         background-color: #FFF;
340         border-top: 3px solid #FF7814;
341 }
342
343 .treetitleselectedblured {
344         background-color: menu;
345         color: windowtext;
346 }
347
348 .treetitleselectedfocused {
349         background-color: highlight;
350         color: highlighttext;
351 }
352
353 .warning a:link, .warning a:visited, .warning a:active, .warning {
354         background: none;
355         color: #FF4500;
356 }
357
358 .warning, .warning strong {
359         text-decoration: none;
360 }
361
362 .warning a:link,.warning a:visited,.warning a:active {
363         text-decoration: underline;
364 }
365
366 .warning strong {
367         background: #FFD700;
368         color: #FF4500;
369 }
370
371 .warning strong a:link,.warning strong a:visited,.warning strong a:active {
372         background: #FFD700;
373         color: #FF4500;
374 }
375
376 blockquote {
377         background-color: #f5f5f5 !important;
378         color: navy !important;
379 }
380
381 blockquote blockquote {
382         background-color: #ebebeb !important;
383         color: maroon !important;
384 }
385
386 blockquote blockquote blockquote {
387         background-color: #e1e1e1 !important;
388         color: green !important;
389 }
390
391 blockquote blockquote blockquote blockquote {
392         background-color: #d7d7d7 !important;
393         color: purple !important;
394 }
395
396 blockquote blockquote blockquote blockquote blockquote {
397         background-color: #cdcdcd !important;
398         color: teal !important;
399 }
400
401 blockquote pre {
402         margin-left: 1%;
403         margin-right: 1%;
404 }
405
406 div.auto_complete ul {
407         background: #fff;
408         border: 1px solid #888;
409         list-style-type: none;
410 }
411
412 div.auto_complete ul li.selected {
413         background-color: #ffc;
414 }
415
416 div.auto_complete ul strong.highlight {
417         color: #800;
418 }
419
420 table.altern {
421         border-bottom: solid 2px #AAA;
422         border-top: solid 2px #AAA;
423 }
424
425 table.altern .even {
426         background-color: #DDD;
427 }
428
429 td li.frameset,.elements li.frameset {
430         background: none;
431         color: gray;
432         font-weight: lighter;
433 }
434
435 td li.transitional,.elements li.transitional {
436         background: none;
437         color: #696969;
438         font-weight: lighter;
439 }
440
441 ul.adminitems {
442         list-style-type: disc;
443         padding: 0;
444 }
445
446 ul.adminitems li {
447         font-weight: 700;
448 }
449
450 ul.adminitems li span {
451         color: #666;
452 }
453
454 var sub {
455         font-style: normal;
456 }
457
458 .calendar {
459         background-color: #204B78;
460 }
461
462 .week_of_year {
463         background-color: #e1e1e1;
464         font-size: 70%; 
465 }
466
467 .day {
468         font-weight: 700;
469 }
470
471 .calout {
472         background-color: #DDDDDD;
473 }
474
475 .calday {
476         background-color: #FFFFFF;
477 }
478
479 .calweekend {
480         background-color: #EEEECC;
481 }
482
483 .caltoday {
484         background-color: #EEEEFF;
485 }
486
487 .current_sort_mode {
488         background-color: white;
489 }
490 .marked_row {
491         background-color: #69aaff !important;
492 }
493 #loading {
494         background-color: white;
495 }
496 /* Message list in mailbox/summaryview */
497 .table-row {
498         background-color: white;
499 }
500
501 .table-alt-row {
502         background-color: #DDDDDD;
503 }
504
505 /* Links */
506
507 a {
508         text-decoration: none;
509 }
510
511 a:active {
512         color: #AD1C00;
513 }
514
515 a:link {
516         color: blue;
517 }
518
519 a:visited {
520         color: purple;
521 }
522
523 #customize a:active, #customize a:link, #customize a:visited {
524         color: black;
525 }
526
527 #important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover, #navbar ul li a:hover, #ib_logoff:hover {
528         background-color: #AD1C00;
529         color: #FFF;
530 } /* input:hover as well?? */
531
532 .button_link a, input, select, #login_form #uname, #login_form #pname, li.activeuser, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
533         background-color: #fbf4ca !important; /* needed for li.activeuser */
534 }
535
536 .button_link a, input, select, #login_form #uname, #login_form #pname, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
537         border: 1px solid #999;
538         color: #333;
539 }
540
541 .button_link a, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
542         cursor: pointer;
543         -moz-border-radius: 8px;    /* CSS3 draft and Mozilla  */
544         text-align: center;
545 }
546
547 .button_link a, .attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
548         font-weight: bold;
549 }
550
551 .msgbuttons a, input#delbutton {
552         font-weight: normal;
553 }
554
555 /* Layout */
556
557 * html {
558         overflow: hidden;
559 }
560 html {
561         overflow: auto;
562 }
563 body {
564         height: 100%;
565         overflow: hidden;
566         text-align: center;
567 }
568
569 body, #global {
570         margin-left: 0;
571         padding: 0;
572 }
573
574 #global {
575         position: absolute;
576         bottom: 0;
577         top: 0;
578         right: 0;
579         left: 0;
580         overflow-y: hidden;
581 }
582
583 #important_message {
584         position: absolute;
585         top: 0; 
586         right: 0;
587         z-index: 4;
588         padding: 3px;
589 }
590
591 #hellomsg, .fmout, .nomsgs {
592         text-align: center;
593 }
594
595 .moreprompt {
596         text-align: center;
597         font-size: 100%;
598         background-color: #004E79;
599         color: #dddddd;
600 }
601
602 .moreprompt_link {
603         color: #dddddd;
604         font-weight: bold;
605 }
606
607 .moreprompt_link:hover {
608         background-color: #AD1C00;
609         color: #FFF;
610 }
611
612 #login_screen, #logout_screen {
613         position: fixed;
614         margin: 0px;
615         top: 0px;
616         left: 0px;
617         bottom: 0px;
618         right: 0px;
619         padding: 3% 6% 3% 6%;
620         overflow: auto;
621 }
622
623 #convlogin, #validate {
624         text-align: center;
625 }
626
627 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
628         text-align: left;
629 }
630
631 .message_content > div > div {
632         text-align: justify !important;
633 }
634
635 #iconbar {
636         position: absolute;
637         top: 0;
638         left: 0;
639         bottom: 0;
640         width: 16%;             /* when changing this, also change #banner width */
641         z-index: 0;
642         overflow: auto;
643         overflow-x: hidden !important;
644 }
645
646 /* Please avoid setting heights for any of the mailbox view elements (except summary_view
647  * and resize). In particular, do NOT set any for message_list_hdr as its not good feng shui
648  */
649
650 #message_list_hdr {
651         display: block;
652         top: 0;
653         left: 0;
654         width: 100%;
655         padding-bottom: 0;
656         margin-bottom: 0;
657         background-color: #CCCCCC;
658 }
659
660 #summary_view {
661         height: 100px;
662         overflow-y: scroll;
663         overflow-x: hidden;
664         cursor: pointer;
665 }
666
667 #summary_headers {
668         background-color: white;
669         width: 100%;
670         table-layout: fixed;
671 }
672
673 #summary_headers tr td {
674         overflow-y: hidden;
675         overflow-x: hidden; /* stop long subjects overflowing */
676 }
677
678 .col1 {
679         width: 50%;
680 }
681
682 .col2 { 
683         width: 30%;
684 }
685
686 .col3 {
687         width: 20%;
688 }
689
690 .col1, .col2, .col3 {
691         cursor: pointer;
692         text-overflow: ellipsis;
693         -o-text-overflow: ellipsis;
694 }
695
696 .new_message {
697         font-weight: bold; !important;
698 }
699
700 #loading {
701         text-align: center;
702 }
703
704 #resize_msglist {
705         width: 100%;
706         overflow: hidden;
707         cursor: s-resize;
708         height: 6px;
709 }
710
711 #preview_pane {
712         overflow: auto; 
713 }
714
715 .fix_scrollbar_bug {
716         margin-right: 1px;              /* Gecko and other non-broken browsers */
717         font-size: 90%;                 /* Most stuff needs to be a little smaller than normal. */
718 }
719
720 /* Boxes */
721
722 .box {
723         width: 100%;
724         padding: 0;
725         margin: 0;
726 }
727
728 #content .boxlabel, #global .boxlabel {
729         margin: 0;
730         padding: 0;
731         width: 100%;
732         text-align: center;
733 }
734
735 #content .box {
736         margin: 0;
737         padding: 0;
738         width: 100%;
739         text-align: center;
740 }
741
742 .boxlabel, .boxcontent {
743         margin: 0;
744 }
745
746 .boxlabel {
747         text-align: center;
748         padding: 0;
749 }
750
751 .boxcontent {
752         text-align: left;
753         padding: 5px;
754 }
755
756 .ctdlTemplate {
757         display: none;
758 }
759
760 #ctdlContextMenu {
761         position: fixed;
762         background-color: white;
763         border: 1px solid black;
764 }
765
766 .draganddrop {
767         position: fixed;
768         display: block;
769         border: 1px solid black;
770         z-index: 65535;
771         background-color: white;
772         text-align: left;
773         opacity: 0.9;
774 }
775
776 .draganddrop > ul {
777         list-style: none;
778         padding-left: 0;
779         margin-left: 0;
780 }
781
782 .hidden {
783         display: none;
784 }
785
786 /* Login */
787
788 #login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
789         display: block;
790         margin: 5px auto 5px auto;
791 }
792
793 #login_screen .login_message, .login_hello, #global center {
794         width: 80%;
795 }
796
797 #login_screen .login_image {
798         width: 135px;
799 }
800
801 #login_screen .login_image img {
802         text-align: center;
803 }
804
805 #login_screen #login_form {
806         padding: 10px;
807         width: 330px;
808 }
809
810 #login_form input, #login_form label, #login_form select {
811         display: block;
812         float: left;
813         margin: 6pt;
814 }
815
816 #login_form label, #pname, #uname {
817         width: 130px;
818         text-align: left;
819 }
820
821 #login_form br {
822         clear: left;
823 }
824
825 .login_infos {
826         display: block;
827         margin: 20px auto 0 auto;
828         width: 80%;
829         text-align: left;
830 }
831
832
833 /* Iconbar */
834
835 .logo, .logo_citadel, #iconbar #button, .iconbar_text, .ib_button {
836         margin: 0;
837         padding: 0;
838 }
839
840 .logo, #citlogo, .iconbar_text, #online_users li {
841         text-align: center;
842 }
843
844 .iconbar_text > span {
845         cursor: pointer;
846 }
847
848 #iconbar #button {
849         width: 100%;
850 }
851
852 .ib_button {
853         margin: 4px 8px 4px 8px;
854         padding: 0;
855         display: block;
856 }
857
858 .ib_button_link {
859         /* width: 100%; */
860         display: block;
861 }
862
863 #online_users {
864         display: none; /* Hide by default */
865         border: 0;
866         max-height: 200px;
867         overflow: auto;
868         padding-left: 0;
869
870 #online_users li {
871         list-style: none;
872         margin: 0;
873         padding: 2px;
874         white-space: nowrap;
875 }
876
877
878 .ib_roomlist_floor, .ib_roomlist_new, .ib_roomlist_old, .roomlist_floor, .roomlist_new, .roomlist_old {
879         margin: 4px;
880         padding: 0;
881 }
882
883 /* Banner */
884 #banner .banner {
885         display: table-cell;
886         width: 90%;
887 }
888
889 #banner .banner img {
890         float: left;
891         margin: 0 5px 15px 0;
892 }
893
894 #banner h1, #banner h2, #banner .banner .infos, #banner .banner p {
895         margin: 2px;
896         padding: 0;
897 }
898
899 #room_infos {
900         position: absolute;
901         top: 0;
902         left: 50%;
903         width: 45%;
904         z-index: 10;
905         cursor: pointer;
906         text-align: left;
907         padding: 10px 2px 2px 2px;
908 }
909
910 #room_infos img.close_infos {
911         float: right;
912 }
913
914 #actiondiv {
915         position: absolute;
916         right: 0;
917         top: 0;
918 }
919
920 #banner ul.room_actions {
921         list-style: none;
922         text-align: left;
923 }
924 #banner ul.room_actions li {
925         white-space: nowrap;
926         display: inline;
927 }
928 #banner ul.room_actions li form {
929         margin: 0;
930         padding: 0;
931 }
932 #banner ul.room_actions li select, #banner ul.room_actions li input {
933         margin-top: 8px;
934         margin-right: 4px;
935 }
936 #selectpage.hidden {
937         display: none !important;
938 }
939
940 /* Navbar */
941
942 #navbar ul, .selector_top, .selector_bottom {
943         width: 100%;
944         margin: 0 auto 0 auto;
945         padding: 0;
946         white-space: nowrap;
947         text-align: center;
948         vertical-align: middle;
949 }
950
951 #navbar ul li {
952         display: inline;
953         list-style: none;
954         vertical-align: middle;
955 }
956
957 #navbar ul li a {
958         padding: 2px 8px 8px 8px;
959         white-space: nowrap;
960 }
961
962 #navbar ul li img {
963         float: none;
964         margin: 0 2px 0 2px;
965 }
966
967 .floor {
968         margin-left: 0px;
969 }
970
971 .floor > ul {
972         display: none;
973 }
974
975 .floor-expanded > ul{
976         display: block !important;
977 }
978
979 #roomlist > ul {
980         margin: 0;
981         padding: 0;
982 }
983
984 #roomlist > div > ul > li {
985         margin: 0;
986         padding: 0;
987 }
988
989 /* Override to disable list-style-image" */
990 .room a, .room a, .room a:visited, .room a:link {
991         color: #333333;
992 }
993
994 .room-private {
995         list-style-image: url("/static/privatemess_16x.gif");
996 }
997
998 .room-addr {
999         list-style-image: url("/static/viewcontacts_16x.gif");
1000 }
1001
1002 .room-cal {
1003         list-style-image: url("/static/calarea_16x.gif");
1004 }
1005
1006 .room-tasks {
1007         list-style-image: url("/static/taskmanag_16x.gif");
1008 }
1009
1010 .room-notes {
1011         list-style-image: url("/static/storenotes_16x.gif");
1012 }
1013
1014 .room-chat {
1015         list-style-image: url("/static/chatrooms_16x.gif");
1016 }
1017
1018 .room-newmsgs {
1019         font-weight: bold;
1020 }
1021
1022 .room-emphasized {
1023         text-decoration: underline;
1024 }
1025
1026 /* Content */
1027
1028 .boxcontent table {
1029         margin: 0;
1030         padding: 0;
1031 }
1032
1033 #content table .box {
1034         margin: 0;
1035         width: 100%;
1036         text-align: left;
1037 }
1038
1039 .service, .who_is_online {
1040         text-align: center;
1041         width: 100%;
1042 }
1043
1044 .service table {
1045         margin: 0 auto 0 auto;
1046         width: 100%;
1047         text-align: left;
1048 }
1049
1050 .instructions {
1051         text-align: center;
1052 }
1053
1054 #message_list_hdr table {
1055         width: 100%;    
1056 }
1057 .selector_top, .selector_bottom {
1058         text-align: center;
1059 }
1060
1061 .selector_top p,.selector_bottom p {
1062         margin: 0;
1063         padding: 2px;
1064 }
1065
1066 .message {
1067         margin: 1%;
1068         padding: 0;
1069 }
1070
1071 .message_header p {
1072         margin: 2px 0 2px 0;
1073         padding: 0 0 2px 0;
1074 }
1075
1076 .button_link a, .attachfile, .logbuttons input,.buttons input, .send_edit_msg input, .logbutton {
1077         margin: 3px;
1078         padding: 2px 4px 2px 4px;
1079 }
1080
1081 .msgbuttons a, input#delbutton {
1082         margin: 0 3px 0 3px;
1083         padding: 2px 4px 2px 4px;
1084 }
1085
1086
1087 .mimepart {
1088         margin-top: 15px;
1089         margin-bottom: 15px;
1090         margin-left: 15%;
1091         width: 70%;
1092         padding: 0;
1093 }
1094
1095 .mimepart img {
1096         vertical-align: middle;
1097         float: left;
1098 }
1099
1100 .mimepart div {
1101         vertical-align: middle;
1102         margin: 0 0 15px 0 ;
1103         padding: 5px;
1104 }
1105
1106 .mimepart div span {
1107         vertical-align: top;
1108 }
1109
1110 .mimepart dl {
1111         width: 100%;
1112         margin-left: 5px;
1113         padding: 5px;
1114 }
1115
1116 .mimepart dl dt {
1117         width: 30%;
1118         float: left;
1119         margin: 0 0 0 0;
1120         padding: .5em;
1121 }
1122
1123 .mimepart dl dd {
1124         float: left;
1125         width: 62%;
1126         margin: 0;
1127         padding: .5em;
1128 }
1129
1130 .mimepart p {
1131         margin-top: 1em;
1132         margin-bottom: 0;
1133         clear: both;
1134 }
1135
1136 .msgbuttons {
1137         float: right;
1138         visibility: hidden;
1139         padding: 2px;
1140         font-size: 80%;
1141 }
1142
1143 .buttons a {
1144         text-align: center;
1145 }
1146
1147 .msgbuttons a span {
1148         display: none;
1149 }
1150
1151 .message_content {
1152         margin: 0;
1153         padding: 0.3em;
1154         clear: both;
1155 }
1156
1157 .message form div label {
1158         display: block;
1159         float: left;
1160         margin: 0.3em;
1161         width: 9em;
1162         text-align: right;
1163 }
1164
1165 .message form div input, .message form div select {
1166         margin: 0.3em;
1167
1168 }
1169
1170 .imgedit {
1171         vertical-align: middle;
1172 }
1173
1174 .send_edit_msg {
1175         float: right;
1176         margin-top: 0 ;
1177         margin-right: 0;
1178         padding: 2px 50px 2px 50px;
1179 }
1180
1181 .edit_msg_table th {
1182         text-align: right;
1183         padding-right: 5px;
1184         color: #333;
1185         width: 20%;
1186 }
1187
1188 .edit_msg_table td { 
1189         width: 40%;
1190 }
1191
1192 .edit_msg_table #recp_id, .edit_msg_table #cc_id, .edit_msg_table #bcc_id, .edit_msg_table #subject_id  {
1193         width: 98%
1194 }
1195
1196 .note {
1197         font-size: 85%;
1198         margin-left: 10%;
1199 }
1200
1201 .toolbar {
1202         text-align: center;
1203 }
1204
1205 .toolbar img {
1206         float: right;
1207 }
1208
1209 .imsg {
1210         text-align: center;
1211 }
1212
1213 colgroup.entity {
1214         text-align: center;
1215 }
1216
1217 div.auto_complete ul {
1218         margin: 0;
1219         padding: 0;
1220         width: 100%;
1221 }
1222
1223 div.auto_complete ul li {
1224         margin: 0;
1225         padding: 3px;
1226 }
1227
1228 div.auto_complete ul strong.highlight {
1229         margin: 0;
1230         padding: 0;
1231 }
1232
1233 .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .downloads_background, .vcard_edit_background, .vcard_edit_background_alt, .roomops_background_alt, .floors_config, .roomops_zap  {
1234  width: 100%;
1235 }
1236
1237 #address_book_popup {
1238         position: absolute;
1239         top: 100px;
1240         right: 25px;
1241         width: 320px;
1242         height: auto;
1243         z-index: 100;
1244         display: none;
1245 }
1246
1247 #address_book_popup_container_div {
1248         position: relative;
1249         width: 100%;
1250         height: 100%;
1251 }
1252
1253 #address_book_popup_middle_div {
1254         position: relative;
1255 }
1256
1257 #address_book_inner_div {
1258         margin: 5px;
1259 }
1260
1261 #address_book_inner_div select {
1262         width: 100%;
1263 }
1264
1265 #address_book_inner_div input {
1266         margin: 4px 5px 0 5px;
1267 }
1268
1269 .service .edit_col, .service .host_col {
1270         display: none;
1271 }
1272
1273 .who_is_online .edit_col, .who_is_online .host_col {
1274         display: block;
1275 }
1276
1277 #citlogo {
1278         display: none; /* Overriden later */
1279 }
1280
1281 .sort_ascending, .sort_descending {
1282         background-repeat: no-repeat;
1283         background-position: center right;
1284 }
1285
1286 .sort_ascending {
1287         background-image: url("/static/down_pointer.gif");
1288 }
1289
1290 .sort_descending {
1291         background-image: url("/static/up_pointer.gif");
1292 }
1293
1294 #message_list_hdr > table {
1295         border-collapse: collapse;
1296 }
1297
1298 #message_list_hdr > table > tbody > tr > th {
1299         border-left: 2px solid white;
1300         border-right: 2px solid white;
1301 }
1302
1303 #summary_view > table { 
1304         border-collapse: collapse;
1305 }
1306
1307 th.col1 {
1308         border-left: none !important;
1309 }
1310
1311 th.col3 {
1312         border-right: none !important;
1313 }
1314
1315 /* System Administration Menu */
1316
1317 ul.adminitems {
1318         margin: 15px;
1319         padding: 0;
1320 }
1321
1322 ul.adminitems li {
1323         margin: 0.5em;
1324         padding: 0;
1325 }
1326
1327 ul.adminitems li span {
1328         display: block;
1329 }
1330
1331
1332 /* Room list - Tree Node */
1333
1334 .treetitle, .editednode, .treetitleselectedfocused, .treetitleselectedblured {
1335         padding: 2px;
1336         cursor: default;
1337 }
1338
1339 table.altern {
1340         margin: 0 auto 0 auto;
1341         width: 98%
1342
1343
1344 table.altern tr td {
1345         height: 2em;    
1346
1347
1348 /* Advanced menu */
1349
1350 table.advanced {
1351         margin: 0 auto 0 auto;
1352         width: 96%;
1353         border-collapse: separate;
1354         border-spacing: 15px;
1355
1356
1357 .advanced .boxcontent ul {
1358         margin-left: 4em;
1359 }
1360
1361 .advanced .boxcontent .col1, .advanced .boxcontent .col2 { 
1362         float: left;
1363         width: 33%;
1364 }
1365
1366 .advanced .boxcontent .col2, .advanced .boxcontent .lastcol {
1367         margin-left: 0;
1368         margin-bottom: 4em;
1369 }
1370
1371 /* Site configuration */
1372
1373 #TheTabs {
1374 }
1375
1376 .tabs_background {
1377         margin-top: 0;
1378 }
1379
1380 /* Links and buttons */
1381
1382 .logbuttons, .buttons {
1383         margin: 2px auto 2px auto;
1384         width: 96%;
1385         text-align: center;
1386 }
1387
1388 /* Tabs */
1389
1390 #TheTabs {
1391         margin: 3% auto 0 auto;
1392         width: 94%;
1393 }
1394
1395 ul.tabbed_dialog {
1396         list-style: none;
1397         margin: 3% auto 0 auto;
1398         width: 96%;
1399         padding: 0;
1400         white-space: nowrap;
1401         text-align: center;
1402         vertical-align: middle;
1403 }
1404
1405 ul.tabbed_dialog li {
1406         margin: 0 3% 0 3%;
1407         padding: 4px;
1408         float: left;
1409 }
1410
1411 .tabcontent {
1412         margin: 0 auto 0 auto;
1413         width: 96%;
1414         padding: 10px;
1415         clear: both;
1416 }
1417
1418 .tabcontent_submit {
1419         margin: 0 auto 0 auto;
1420         width: 96%;
1421         padding: 10px;
1422         text-align: center;
1423 }
1424
1425
1426 /* Calendar view */
1427
1428 .calendar {
1429         background-color: #204B78;
1430         margin: 0;
1431         width: 100%;
1432         height: 302px;
1433 }
1434
1435 td.events_of_the_day {
1436         width: 500px;
1437 }
1438
1439 .events_of_the_day dl {
1440         margin: 0;
1441         padding: 0;
1442         position: absolute;
1443         top: 0;
1444         left:0;
1445         width: 500px;
1446 }
1447
1448 .events_of_the_day dl dt {
1449         background-color: #FFFFFF;
1450         margin: 0;
1451         width: 500px;
1452         border: 1px solid #CCC;
1453 }
1454
1455 .events_of_the_day dl dt.hour {
1456         /* font-size: 160%; commenting out because we need to line it up with the actual size */
1457 }
1458
1459 .events_of_the_day dl dt.extrahour {
1460         /* font-size: 80%; commenting out because we need to line it up with the actual size */
1461 }
1462
1463 .hour_label, .extra_events dl dt {
1464         background-color: #CCCCDD;
1465         vertical-align: middle;
1466         text-align: left;       
1467 }
1468
1469 .hour_events, .extra_events {
1470         background-color: #FFFFFF;
1471         vertical-align: top;
1472         text-align: left;       
1473 }
1474
1475
1476 .extra_events ul {
1477         list-style: none;
1478         margin: 0;
1479         padding: 0;
1480 }
1481
1482 .extra_events ul li {
1483         margin: 4px;
1484 }
1485
1486 .calday, .calout, .calweekend, .caltoday {
1487         width: 14%;
1488         height: 60px;
1489         text-align: left;
1490         vertical-align: top;
1491 }
1492
1493 .event_framed_unread {
1494         -moz-border-radius: 8px;
1495         border: solid 1px red;
1496         background-color: yellow;
1497         z-index: 10;
1498         padding: 0 4px 0 4px; 
1499 }
1500
1501 li.event_framed_unread span, a.event_title {
1502         font-size: 100%;     
1503 }
1504
1505 .event_framed_read {
1506         -moz-border-radius: 8px;
1507         border: solid 1px red;
1508         background-color: yellow;
1509         z-index: 10;
1510         padding: 0 4px 0 4px; 
1511 }
1512
1513 li.event_framed_read span, a.event_title {
1514         font-size: 100%;  
1515 }
1516
1517 .event_read {
1518 }
1519
1520 li.event_read span, a.event_read_title {
1521         font-size: 100%;     
1522 }
1523
1524 .event_unread {
1525 }
1526
1527 li.event_unread span, a.event_read_title {
1528         font-size: 100%;     
1529 }
1530
1531 .mini_calendar {
1532    color: #fff;
1533 }
1534
1535 .mini_calendar a {
1536    color: #fff;
1537 }
1538
1539 .mini_calendar a:link,.mini_calendar a:visited {
1540    color: #fff;
1541 }
1542
1543 .mini_calendar a:hover,.mini_calendar a:active {
1544    color: #fff;
1545    background-color: #AD1C00;
1546 }
1547
1548 .mini_calendar td a {
1549    color: #fff;
1550 }
1551
1552 .mini_calendar td a:link,.mini_calendar td a:visited {
1553    color: #fff;
1554 }
1555
1556 .mini_calendar td a:hover,.mini_calendar td a:active {
1557    color: #fff;
1558    background-color: #AD1C00;
1559
1560 }
1561
1562 .menudesc {
1563         margin: 4px;
1564         padding: 4px;
1565 }
1566
1567 .roompic {
1568         height: 48px;
1569         width: 48px;
1570         border: none;
1571 }
1572
1573 #navbar ul li a img {
1574       vertical-align: middle;
1575       border: none;
1576 }
1577
1578 .table-row, .table-alt-row {
1579         width: 100%;
1580 }
1581
1582 .stickynote_outer {
1583         position: absolute;
1584         width: 200px;
1585         height: 200px;
1586         border: 1px solid #333;
1587         background-color: #ffff00;
1588         overflow: hidden;
1589 }
1590
1591 .stickynote_titlebar {
1592         position: relative;
1593         width: 100%;
1594         height: 16px;
1595         top: 0px;
1596         left: 0px;
1597         background-color: #888800;
1598         font-size: 60%;     
1599 }
1600
1601 .stickynote_body {
1602         position: relative;
1603         font-family: "Comic Sans MS", sans-serif;
1604 }
1605
1606 .stickynote_resize {
1607         position: absolute;
1608         background-image: url('resizecorner.png');
1609         height: 16px;
1610         width: 16px;
1611         right: -1px;
1612         bottom: -1px;
1613 }
1614
1615 .stickynote_palette {
1616         position: absolute;
1617         width: 48px;
1618         height: 48px;
1619         top: 16px;
1620         left: 0px;
1621         background-color: #ffffff;
1622         border: 1px solid #333;
1623         display: none;
1624 }
1625
1626 .stickynote_palette table {
1627         margin: 0;
1628         padding: 0;
1629 }
1630
1631 .stickynote_palette td {
1632         width: 16px;
1633         height: 16px;
1634 }
1635
1636
1637 .login_using_openid_link {
1638         text-align: center;
1639 }
1640
1641 .openid_urlarea {
1642         background: url('openid-small.gif') no-repeat scroll 0pt 50%;
1643         padding-left: 18px;
1644 }
1645
1646 .conftitle {
1647         font-size: 140%;
1648         font-weight: bold;
1649         text-align: center;
1650 }
1651
1652 .confdescr {
1653         font-size: 110%;
1654         text-align: center;
1655 }
1656
1657 #noscript_warning {
1658         position: fixed;
1659         top: 0;
1660         left: 0;
1661         background-color: #FF0000;
1662         color: #FFFFFF;
1663 }
1664
1665 .chatrecv_history_class {
1666         position: absolute;
1667         top: 0;
1668         left: 1%;
1669         width: 74%;
1670         margin-top: 5px;
1671         margin-bottom: 5px;
1672         height: 70%;
1673         background-color: #FFFFFF;
1674         overflow: auto;
1675         border-style: solid;
1676         border-color: #022750;
1677         border-width: 1px;
1678         padding-left: 3px;
1679         padding-right: 3px;
1680 }
1681
1682 .chat_userlist_class {
1683         position: absolute;
1684         top: 0;
1685         right: 1%;
1686         width: 23%;
1687         margin-top: 5px;
1688         margin-bottom: 5px;
1689         height: 70%;
1690         background-color: #FFFFFF;
1691         overflow: auto;
1692         border-style: solid;
1693         border-color: #022750;
1694         border-width: 1px;
1695         padding-left: 3px;
1696         padding-right: 3px;
1697 }
1698
1699 .chatrecv_class {
1700         display: none;
1701 }
1702
1703 .chatsend_class {
1704         position: absolute;
1705         left: 1%;
1706         right: 1%;
1707         height: 28%;
1708         bottom: 0;
1709         margin-top: 5px;
1710         margin-bottom: 5px;
1711         margin-left: auto;
1712         margin-right: auto;
1713         border-style: solid;
1714         border-color: #022750;
1715         border-width: 1px;
1716         padding-left: 3px;
1717         padding-right: 3px;
1718         background-color: #004E79;
1719 }
1720
1721 .chat_myname_class {
1722         font-weight: bold;
1723         color: #ff0000;
1724 }
1725
1726 .chat_notmyname_class {
1727         font-weight: bold;
1728         color: #0000ff;
1729 }
1730
1731 .chat_text_class {
1732 }
1733
1734 /*---------- bubble tooltips start -----------*/
1735
1736 a.event_title, a.event_unread, a.event_read {
1737         position:relative;
1738         z-index:24;
1739 }
1740
1741 a.event_title span, a.event_unread span, a.event_read span {
1742         display: none;
1743 }
1744
1745 /* background:; ie hack, something must be changed in a for ie to execute it */
1746
1747 a.event_title:hover, a.event_unread:hover, a.event_read:hover {
1748         z-index:25;
1749         background:;
1750 }
1751
1752 a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_read:hover span.tooltip {
1753         display:block;
1754         position:absolute;
1755         top:0px; left:0;
1756         padding: 15px 0 0 0;
1757         width:200px;
1758         text-align: center;
1759 }
1760
1761 a.event_title:hover span.btttop, a.event_unread:hover span.btttop, a.event_read:hover span.btttop {
1762         display: block;
1763         padding: 30px 8px 0;
1764         background: url(/static/bubble.gif) no-repeat top;
1765 }
1766
1767 /* different middle bg for stretch */
1768 a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event_read:hover span.bttmiddle {
1769         display: block;
1770         padding: 0 8px; 
1771         background: url(/static/bubble_filler.gif) repeat bottom; 
1772         color: #022750;
1773         font-size: 10px;
1774 }
1775
1776 a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event_read:hover span.bttbottom {
1777         display: block;
1778         padding:3px 8px 10px;
1779         background: url(/static/bubble.gif) no-repeat bottom;
1780 }
1781
1782 /*---------- bubble tooltips end -----------*/