Removed PIE.htc in places where it makes IE fuck up even more than it usually does...
[citadel.git] / webcit / static / styles / webcit.css
index 1312bc1d2d5233ad34db75a7aa70ad293d4efea7..278b42e531726065f92bd9e4f225905dccc89ecf 100644 (file)
 /*
- * Copyright 2005 - 2010 The Citadel Team
+ * Copyright 2005 - 2011 The Citadel Team
  * Licensed under the GPL V3
  */
 
-@import url("datepicker.css");
-@media print {
-       input#toggler, .toolbar { display: none }
-}
-
-/* Typography & colors */
+/* These stylesheets were split from this one for convenience */
 
-html { font-size: 100%;}
+@import url("login.css");
+@import url("global.css");
+@import url("iconbar.css");
+@import url("banner.css");
+@import url("navbar.css");
+@import url("content.css");
+@import url("box.css");
+@import url("message.css");
+@import url("modal.css");
+@import url("service.css");
 
-body { font-size: 100%;}
-
-#banner h1 { font-size: 160%; }
-
-#banner h2,#banner .titlebar, .address_book_popup_title {
-       font-size: 130%;
+@media print {
+       input#toggler, .toolbar { display: none }
 }
 
-#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 {
+html, body {
        font-size: 100%;
+       height:100%;
+       width:100%;
+       margin:0;
+       padding:0;
+       overflow:hidden;
 }
 
-#nummsgs {
-       font-size: 75%;
-}
-
-#message_list_hdr table {
-       font-size: 80%;
-}
+.address_book_popup_title { font-size: 130% }
 
-#navbar {
-       font-size: 75%;
-       position: absolute;
-       bottom: 0;
-       width: 100%;
+#button, #content .button_link a, input#delbutton,.attachfile, .buttons input, .buttons a, .customize, .menubar_link, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, ul.adminitems li span, #message_list tr > td {
+       font-size: 100%;
 }
 
-.mailbox_summary {
-       font-size: 80%;
-}
+#message_list_hdr table { font-size: 80% }
 
-#online_users li a {
-       font-size: 80% !important;
-}
-.marked_row {
-       color: white;
-}
+.mailbox_summary { font-size: 80% }
 
 /* Color */
 
 body {
-       background-color: #6C91A6;
+       background-color: #F3F6F2;
        font-family: sans-serif;
 }
 
-#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 {
+.marked_row { 
+       color: white;
+       background-color: #69aaff !important;
+}
+
+.service form div,table.altern .odd, #message_list, #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 {
        background-color: #FFF;
        color: #000;
 }
 
-#login_form, #message_list_hdr table, #resize_msglist, .message, .message_header, .vcard_edit_background_alt,.roomops_background_alt {
+#message_list_hdr table, #resize_msglist, .vcard_edit_background_alt,.roomops_background_alt {
        background-color: #CCC;
 }
 
-.box, #online_users li.inactiveuser a {
-       background-color: transparent;
-}
-
-.banner .infos {
-       cursor: help;
-}
-
-.login_message {
-       color: #AD1C00;
-       font-weight: 700;
-       text-transform: uppercase;
-}
-
-.ib_button, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, .iconbar_text{
-       background-color: #F0FFFF;
-       color: #333;
+#room_infos, #address_book_popup, .roomops_cell, .roomops_cell_edit, .mimepart {
+       background-color: #deded0;
+       color: #5C646B;
 } 
-#online_users:hover { /* separate in order for override */
-       background-color: #F0FFFF !important;
-       color: #333 !important;
-}
-#iconbar #button {
-       border: none;
-       list-style: none;
-}
-
-.ib_button {
-       font-size: 80%;
-}
 
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
-       border: 1px solid #333;
+       border: 1px solid #5C646B;
        overflow: scroll;
 }
 
-
-.buttons a,.roomlist_floor,.tablabel,.treetitle {
+.buttons a,.tablabel,.treetitle {
        color: #000;
        font-weight: 700;
 }
 
-.ib_button {
-       border: none;
-       border-bottom: 2px groove #CCC;
-       border-right: 2px groove #CCC;
-}
-
-.logo_citadel a,.logo_citadel img {
-       border: none;
-}
-
-.logo,.logo_citadel, .iconbar_text {
-       border: none;
-       border-bottom: 1px solid #AAA;
-}
-
-.ib_button_link, .ib_button_link:visited, .ib_button_link:link, #online_users a {
-       color: #000;
-       text-decoration: none;
-}
+.mimepart div,.required { font-weight: 700 }
 
-#online_users li {
-       border: none;
-       border-top: 1px solid #AAA;
-}
-
-#banner h1,#banner h2,.mimepart div,.required {
-       font-weight: 700;
-}
-
-#banner ul.room_actions li.start_page a, #navbar, .selector_top,.selector_bottom {
+.selector_top,.selector_bottom {
        background-color: #022750;
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        color: #FFF;
 }
 
-.start_page {
-       font-size: 60%;
-}
-
-#banner {
-       background-color: #004E79;
-       color: #FFF;
-       margin: 0;
-       padding: 0;
-       top: 0;
-       height: 120px;          /* when changing this, also change #content */
-       position: fixed;
-       width: 84%;             /* when changing this, also change #iconbar and #content */
-       left: 16%;              /* when changing this, also change #iconbar and #content */
-       z-index: 3;
-       overflow: hidden;
-}
-
-#banner a {
-       color: #FFF
-}
-
-.room_actions form select {
-       cursor: pointer;
-}
-
-#content {
-       position: fixed;
-       top: 120px;             /* when changing this, also change #banner and #iconbar */
-       left: 16%;              /* when changing this, also change #banner and #iconbar */
-       bottom: 0;
-       width: 84%;             /* when changing this, also change #banner and #iconbar */
-       background-color: #6C91A6;
-       color: #000;
-       z-index: 2;
-       overflow-y: auto;
-}
-
-#message_list_hdr form input {
-       border: 0;
-}
+#message_list_hdr form input { border: 0 }
 
 #message_list_hdr select {
-       background-color: #AD1C00;
+       background-color: #3E65AF;
+       color: #F1BD22;
        border: 1px solid #6C91A6;
 }
 
-#message_list_hdr table {
-       font-style: italic;
-}
+#message_list_hdr table { font-style: italic }
 
 #resize_msglist {
-       background-image: url(/static/resizegrippy.gif);
+       background-image: url(/static/webcit_icons/resizegrippy.gif);
        background-position: center;
        background-repeat: no-repeat; 
 }
@@ -208,19 +107,7 @@ body {
        height: 3px;
 }
 
-.message {
-       border: 1px outset #999;
-       clear: both;
-}
-
-.message_header .message_subject {
-       font-style: italic;
-       float: left;    
-}
-
-.adminlist {
-       list-style: none;
-}
+.adminlist { list-style: none }
 
 .customize {
        background-color: #DDC;
@@ -270,26 +157,6 @@ body {
        border: 0;
 }
 
-.ib_roomlist_floor, .ib_roomlist_new, .ib_roomlist_old {
-       cursor: pointer;
-}
-
-.ib_roomlist_floor, .roomlist_new, .ib_roomlist_new {
-       font-weight: 700;
-}
-
-.ib_roomlist_floor {
-       color: #000;
-}
-
-.roomlist_new, .ib_roomlist_new {
-       color: #800;
-}
-
-.roomlist_old, .ib_roomlist_old {
-       color: #008;
-}
-
 .imsg {
        background: none;
        color: #AAA;
@@ -297,9 +164,7 @@ body {
        font-weight: 700;
 }
 
-.menubar_bg {
-       background-color: red;
-}
+.menubar_bg { background-color: red }
 
 .mimepart div span {
        display: block;
@@ -316,14 +181,16 @@ body {
        overflow: hidden;
 }
 
-.mimepart dl dt {
-       font-weight: 700;
-}
+.mimepart dl dt { font-weight: 700 }
 
-.roomops_cell_label,.boxlabel,.tab_cell_label {
-       background-color: #FF7814;
-       color: #FFF;
-       font-weight: 700;
+.roomops_cell_label, .tab_cell_label {
+       background-color: #424b52;
+       color: #EABB3A;
+       font-size: 80%;
+       font-weight: bold;
+       border-radius: 8px 8px 0 0;
+       -webkit-border-radius: 8px 8px 0 0;
+       -moz-border-radius: 8px 8px 0 0;
 }
 
 .selectbox {
@@ -331,13 +198,18 @@ body {
 }
 
 .tab_cell, .tab_cell_edit {
-       background-color: #CCC;
-       font-weight: 700;
+       background-color: #5c646b;
+       color: #F9FDFB;
+       font-size: 80%;
+       font-weight: bold;
+       border-radius: 8px 8px 0 0;
+       -webkit-border-radius: 8px 8px 0 0;
+       -moz-border-radius: 8px 8px 0 0;
 }
 
 .tabcontent {
-       background-color: #FFF;
-       border-top: 3px solid #FF7814;
+       background-color: #FEFFFC;
+       border: 2px solid #424B52;
 }
 
 .treetitleselectedblured {
@@ -355,9 +227,7 @@ body {
        color: #FF4500;
 }
 
-.warning, .warning strong {
-       text-decoration: none;
-}
+.warning, .warning strong { text-decoration: none }
 
 .warning a:link,.warning a:visited,.warning a:active {
        text-decoration: underline;
@@ -413,9 +283,7 @@ div.auto_complete ul li.selected {
        background-color: #ffc;
 }
 
-div.auto_complete ul strong.highlight {
-       color: #800;
-}
+div.auto_complete ul strong.highlight { color: #800 }
 
 table.altern {
        border-bottom: solid 2px #AAA;
@@ -443,143 +311,120 @@ ul.adminitems {
        padding: 0;
 }
 
-ul.adminitems li {
-       font-weight: 700;
-}
+ul.adminitems li { font-weight: 700 }
 
-ul.adminitems li span {
-       color: #666;
-}
+ul.adminitems li span {        color: #666 }
 
-var sub {
-       font-style: normal;
-}
-
-.calendar {
-       background-color: #204B78;
-}
+var sub { font-style: normal }
 
 .week_of_year {
        background-color: #e1e1e1;
        font-size: 70%; 
 }
 
-.day {
-       font-weight: 700;
-}
+.day { font-weight: 700 }
 
-.calout {
-       background-color: #DDDDDD;
-}
+.calout { background-color: #DDDDDD }
 
-.calday {
-       background-color: #FFFFFF;
-}
+.calday { background-color: #FFFFFF }
 
-.calweekend {
-       background-color: #EEEECC;
-}
+.calweekend { background-color: #EEEECC }
 
-.caltoday {
-       background-color: #EEEEFF;
-}
+.caltoday { background-color: #EEEEFF }
+
+.current_sort_mode { background-color: white }
+
+#loading { background-color: white }
 
-.current_sort_mode {
-       background-color: white;
-}
-.marked_row {
-       background-color: #69aaff !important;
-}
-#loading {
-       background-color: white;
-}
 /* Message list in mailbox/summaryview */
-.table-row {
-       background-color: white;
-}
+.table-row { background-color: white }
 
-.table-alt-row {
-       background-color: #DDDDDD;
-}
+.table-alt-row { background-color: #DDDDDD }
 
 /* Links */
 
-a {
-       text-decoration: none;
-}
+a { text-decoration: none }
 
-a:active {
-       color: #AD1C00;
-}
+a:link, .calendar a:visited { color: #0e73e3 } /*color: #2F65DD;*/
 
-a:link {
-       color: blue;
+a:active { color: #3E65AF }
+
+a:visited { color: #70342e }
+
+.roomlist_old { color: #424b52 }
+
+.roomlist_new { color: #ef7114 }
+
+.roomlist_new, .roomlist_old {
+       font-size: medium;
+       font-weight: bold;
+       padding: 0.1em 0.3em;
 }
 
-a:visited {
-       color: purple;
+.roomlist_new:hover, .roomlist_old:hover{
+       outline: 1px solid #7d858c;
+       outline-radius: 5px;
+       -khtml-outline-radius: 5px;
+       -moz-outline-radius: 5px;
+       behavior: url(/static/styles/PIE.htc);
 }
 
 #customize a:active, #customize a:link, #customize a:visited {
        color: black;
 }
 
-#important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover, #navbar ul li a:hover, #ib_logoff:hover {
-       background-color: #AD1C00;
+#important_message {
+       background-color: #3E65AF;
        color: #FFF;
-} /* input:hover as well?? */
-
-.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 {
-       background-color: #fbf4ca !important; /* needed for li.activeuser */
 }
 
-.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 {
-       border: 1px solid #999;
+input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title {
+       background-color: #efefe0; /*#fbf4ca;*/
+       border: 2px solid #5c646b;
        color: #333;
 }
 
-.button_link a, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
+.buttons a:hover { background-color: #5c646b; }
+.button_link a, input#delbutton,.attachfile, .buttons input {
+       background-color: #4d555c;
+}
+.button_link a, input#delbutton,.attachfile, .buttons input {
+       border: 2px solid #5c646b;
+       color: #F0FEFF;
+}
+
+
+.button_link a, input#delbutton,.attachfile, .buttons input {
        cursor: pointer;
-       -moz-border-radius: 8px;    /* CSS3 draft and Mozilla  */
+       -webkit-border-radius: 8px;
+       -moz-border-radius: 8px;
+       border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
        text-align: center;
 }
 
-.button_link a, .attachfile, .logbuttons input,.buttons input, .send_edit_msg input {
+.button_link a, .attachfile,.buttons input {
        font-weight: bold;
 }
 
-.msgbuttons a, input#delbutton {
-       font-weight: normal;
-}
+input#delbutton { font-weight: normal }
 
 /* Layout */
 
-* html {
-       overflow: hidden;
-}
-html {
-       overflow: auto;
-}
+* html { overflow: hidden }
+
+html { overflow: auto }
+
 body {
        height: 100%;
        overflow: hidden;
        text-align: center;
-}
-
-body, #global {
        margin-left: 0;
        padding: 0;
 }
 
-#global {
-       position: absolute;
-       bottom: 0;
-       top: 0;
-       right: 0;
-       left: 0;
-       overflow-y: hidden;
-}
-
 #important_message {
        position: absolute;
        top: 0; 
@@ -592,73 +437,28 @@ body, #global {
        text-align: center;
 }
 
-.moreprompt {
-       text-align: center;
-       font-size: 100%;
-       background-color: #004E79;
-       color: #dddddd;
-}
-
-.moreprompt_link {
-       color: #dddddd;
-       font-weight: bold;
-}
-
-.moreprompt_link:hover {
-       background-color: #AD1C00;
-       color: #FFF;
-}
-
-#login_screen, #logout_screen {
-       position: fixed;
-       margin: 0px;
-       top: 0px;
-       left: 0px;
-       bottom: 0px;
-       right: 0px;
-       padding: 3% 6% 3% 6%;
-       overflow: auto;
-}
-
-#convlogin, #validate {
-       text-align: center;
-}
+#validate { text-align: center }
 
-#iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  {
-       text-align: left;
-}
-
-.message_content > div > div {
-       text-align: justify !important;
-}
-
-#iconbar {
-       position: absolute;
-       top: 0;
-       left: 0;
-       bottom: 0;
-       width: 16%;             /* when changing this, also change #banner width */
-       z-index: 0;
-       overflow: auto;
-       overflow-x: hidden !important;
-}
+#iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  { text-align: left }
 
 /* Please avoid setting heights for any of the mailbox view elements (except summary_view
  * and resize). In particular, do NOT set any for message_list_hdr as its not good feng shui
  */
+#message_listview th {
+       border-right: 0.2em solid #fff;
+}
+#message_listview td {
+       padding-left: 1em;
+}
 
 #message_list_hdr {
        display: block;
-       top: 0;
-       left: 0;
-       width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        background-color: #CCCCCC;
 }
 
 #summary_view {
-       height: 100px;
        overflow-y: scroll;
        overflow-x: hidden;
        cursor: pointer;
@@ -666,7 +466,6 @@ body, #global {
 
 #summary_headers {
        background-color: white;
-       width: 100%;
        table-layout: fixed;
 }
 
@@ -675,17 +474,11 @@ body, #global {
        overflow-x: hidden; /* stop long subjects overflowing */
 }
 
-.col1 {
-       width: 50%;
-}
+#message_listview .col1 { width: 66% }
 
-.col2 { 
-       width: 30%;
-}
+#message_listview .col2 { width: 22% }
 
-.col3 {
-       width: 20%;
-}
+#message_listview .col3 { width: 12% }
 
 .col1, .col2, .col3 {
        cursor: pointer;
@@ -693,13 +486,9 @@ body, #global {
        -o-text-overflow: ellipsis;
 }
 
-.new_message {
-       font-weight: bold; !important;
-}
+.new_message { font-weight: bold; !important }
 
-#loading {
-       text-align: center;
-}
+#loading { text-align: center}
 
 #resize_msglist {
        width: 100%;
@@ -708,54 +497,9 @@ body, #global {
        height: 6px;
 }
 
-#preview_pane {
-       overflow: auto; 
-}
+#preview_pane { overflow: auto }
 
-.fix_scrollbar_bug {
-       margin-right: 1px;              /* Gecko and other non-broken browsers */
-       font-size: 90%;                 /* Most stuff needs to be a little smaller than normal. */
-}
-
-/* Boxes */
-
-.box {
-       width: 100%;
-       padding: 0;
-       margin: 0;
-}
-
-#content .boxlabel, #global .boxlabel {
-       margin: 0;
-       padding: 0;
-       width: 100%;
-       text-align: center;
-}
-
-#content .box {
-       margin: 0;
-       padding: 0;
-       width: 100%;
-       text-align: center;
-}
-
-.boxlabel, .boxcontent {
-       margin: 0;
-}
-
-.boxlabel {
-       text-align: center;
-       padding: 0;
-}
-
-.boxcontent {
-       text-align: left;
-       padding: 5px;
-}
-
-.ctdlTemplate {
-       display: none;
-}
+.ctdlTemplate { display: none }
 
 #ctdlContextMenu {
        position: fixed;
@@ -774,311 +518,63 @@ body, #global {
 }
 
 .draganddrop > ul {
-       list-style: none;
-       padding-left: 0;
-       margin-left: 0;
-}
-
-.hidden {
-       display: none;
-}
-
-/* Login */
-
-#login_screen .login_message, #login_screen .login_image, .login_hello, #login_screen #login_form {
-       display: block;
-       margin: 5px auto 5px auto;
-}
-
-#login_screen .login_message, .login_hello, #global center {
-       width: 80%;
-}
-
-#login_screen .login_image {
-       width: 135px;
-}
-
-#login_screen .login_image img {
-       text-align: center;
-}
-
-#login_screen #login_form {
-       padding: 10px;
-       width: 330px;
-}
-
-#login_form input, #login_form label, #login_form select {
-       display: block;
-       float: left;
-       margin: 6pt;
-}
-
-#login_form label, #pname, #uname {
-       width: 130px;
-       text-align: left;
-}
-
-#login_form br {
-       clear: left;
-}
-
-.login_infos {
-       display: block;
-       margin: 20px auto 0 auto;
-       width: 80%;
-       text-align: left;
-}
-
-
-/* Iconbar */
-
-.logo, .logo_citadel, #iconbar #button, .iconbar_text, .ib_button {
-       margin: 0;
-       padding: 0;
-}
-
-.logo, #citlogo, .iconbar_text, #online_users li {
-       text-align: center;
-}
-
-.iconbar_text > span {
-       cursor: pointer;
-}
-
-#iconbar #button {
-       width: 100%;
-}
-
-.ib_button {
-       margin: 4px 8px 4px 8px;
-       padding: 0;
-       display: block;
-}
-
-.ib_button_link {
-       /* width: 100%; */
-       display: block;
-}
-
-#online_users {
-       display: none; /* Hide by default */
-       border: 0;
-       max-height: 200px;
-       overflow: auto;
-       padding-left: 0;
-} 
-#online_users li {
-       list-style: none;
-       margin: 0;
-       padding: 2px;
-       white-space: nowrap;
-}
-
-
-.ib_roomlist_floor, .ib_roomlist_new, .ib_roomlist_old, .roomlist_floor, .roomlist_new, .roomlist_old {
-       margin: 4px;
-       padding: 0;
-}
-
-/* Banner */
-#banner .banner {
-       display: table-cell;
-       width: 90%;
-}
-
-#banner .banner img {
-       float: left;
-       margin: 0 5px 15px 0;
-}
-
-#banner h1, #banner h2, #banner .banner .infos, #banner .banner p {
-       margin: 2px;
-       padding: 0;
-}
-
-#room_infos {
-       position: absolute;
-       top: 0;
-       left: 50%;
-       width: 45%;
-       z-index: 10;
-       cursor: pointer;
-       text-align: left;
-       padding: 10px 2px 2px 2px;
-}
-
-#room_infos img.close_infos {
-       float: right;
-}
-
-#actiondiv {
-       position: absolute;
-       right: 0;
-       top: 0;
-}
-
-#banner ul.room_actions {
-       list-style: none;
-       text-align: left;
-}
-#banner ul.room_actions li {
-       white-space: nowrap;
-       display: inline;
-}
-#banner ul.room_actions li form {
-       margin: 0;
-       padding: 0;
-}
-#banner ul.room_actions li select, #banner ul.room_actions li input {
-       margin-top: 8px;
-       margin-right: 4px;
-}
-#selectpage.hidden {
-       display: none !important;
-}
-
-/* Navbar */
-
-#navbar ul, .selector_top, .selector_bottom {
-       width: 100%;
-       margin: 0 auto 0 auto;
-       padding: 0;
-       white-space: nowrap;
-       text-align: center;
-       vertical-align: middle;
-}
-
-#navbar ul li {
-       display: inline;
-       list-style: none;
-       vertical-align: middle;
-}
-
-#navbar ul li a {
-       padding: 2px 8px 8px 8px;
-       white-space: nowrap;
-}
-
-#navbar ul li img {
-       float: none;
-       margin: 0 2px 0 2px;
-}
-
-.floor {
-       margin-left: 0px;
-}
-
-.floor > ul {
-       display: none;
-}
-
-.floor-expanded > ul{
-       display: block !important;
-}
-
-#roomlist > ul {
-       margin: 0;
-       padding: 0;
-}
-
-#roomlist > div > ul > li {
-       margin: 0;
-       padding: 0;
-}
-
-/* Override to disable list-style-image" */
-.room a, .room a, .room a:visited, .room a:link {
-       color: #333333;
-}
-
-.room-private {
-       list-style-image: url("/static/privatemess_16x.gif");
-}
-
-.room-addr {
-       list-style-image: url("/static/viewcontacts_16x.gif");
-}
-
-.room-cal {
-       list-style-image: url("/static/calarea_16x.gif");
-}
-
-.room-tasks {
-       list-style-image: url("/static/taskmanag_16x.gif");
-}
-
-.room-notes {
-       list-style-image: url("/static/storenotes_16x.gif");
+       list-style: none;
+       padding-left: 0;
+       margin-left: 0;
 }
 
-.room-chat {
-       list-style-image: url("/static/chatrooms_16x.gif");
-}
+.hidden { display: none }
 
-.room-newmsgs {
-       font-weight: bold;
-}
+.floor { margin-left: 0px }
 
-.room-emphasized {
-       text-decoration: underline;
-}
+.floor > ul { display: none }
 
-/* Content */
+.floor-expanded > ul{ display: block !important }
 
-.boxcontent table {
+#roomlist > ul {
        margin: 0;
        padding: 0;
 }
 
-#content table .box {
+#roomlist > div > ul > li {
        margin: 0;
-       width: 100%;
-       text-align: left;
+       padding: 0;
 }
 
-.service, .who_is_online {
-       text-align: center;
-       width: 100%;
-}
+/* Override to disable list-style-image" */
+.room a, .room a, .room a:visited, .room a:link { color: #f0feff }
 
-.service table {
-       margin: 0 auto 0 auto;
-       width: 100%;
-       text-align: left;
-}
+.room-private { list-style-image: url("/static/webcit_icons/essen/16x16/email.png") }
 
-.instructions {
-       text-align: center;
-}
+.room-addr { list-style-image: url("/static/webcit_icons/essen/16x16/contact.png") }
 
-#message_list_hdr table {
-       width: 100%;    
-}
-.selector_top, .selector_bottom {
-       text-align: center;
-}
+.room-cal { list-style-image: url("/static/webcit_icons/essen/16x16/calendar.png") }
+
+.room-tasks { list-style-image: url("/static/webcit_icons/essen/16x16/task.png") }
+
+.room-notes { list-style-image: url("/static/webcit_icons/essen/16x16/note.png") }
+
+.room-chat { list-style-image: url("/static/webcit_icons/essen/16x16/room.png") }
+
+.room-newmsgs { font-weight: bold }
+
+.room-emphasized { text-decoration: underline }
+
+#message_list_hdr table { width: 100% }
+
+.selector_top, .selector_bottom { text-align: center }
 
 .selector_top p,.selector_bottom p {
        margin: 0;
        padding: 2px;
 }
 
-.message {
-       margin: 1%;
-       padding: 0;
-}
-
-.message_header p {
-       margin: 2px 0 2px 0;
-       padding: 0 0 2px 0;
-}
-
-.button_link a, .attachfile, .logbuttons input,.buttons input, .send_edit_msg input, .logbutton {
+.button_link a, .attachfile, .buttons input .logbutton {
        margin: 3px;
        padding: 2px 4px 2px 4px;
 }
 
-.msgbuttons a, input#delbutton {
+input#delbutton {
        margin: 0 3px 0 3px;
        padding: 2px 4px 2px 4px;
 }
@@ -1103,9 +599,7 @@ body, #global {
        padding: 5px;
 }
 
-.mimepart div span {
-       vertical-align: top;
-}
+.mimepart div span { vertical-align: top }
 
 .mimepart dl {
        width: 100%;
@@ -1133,64 +627,26 @@ body, #global {
        clear: both;
 }
 
-.msgbuttons {
-       float: right;
-       visibility: hidden;
-       padding: 2px;
-       font-size: 80%;
-}
-
-.buttons a {
-       text-align: center;
-}
-
-.msgbuttons a span {
-       display: none;
-}
-
-.message_content {
-       margin: 0;
-       padding: 0.3em;
-       clear: both;
-}
-
-.message form div label {
-       display: block;
-       float: left;
-       margin: 0.3em;
-       width: 9em;
-       text-align: right;
-}
-
-.message form div input, .message form div select {
-       margin: 0.3em;
-
-}
+.buttons a { text-align: center }
 
 .imgedit {
-       vertical-align: middle;
-}
-
-.send_edit_msg {
-       float: right;
-       margin-top: 0 ;
-       margin-right: 0;
-       padding: 2px 50px 2px 50px;
+       vertical-align: middle
 }
 
 .edit_msg_table th {
        text-align: right;
+       padding: 0px;
        padding-right: 5px;
        color: #333;
        width: 20%;
 }
 
-.edit_msg_table td { 
-       width: 40%;
+.edit_msg_table td {
+       padding: 0px;
 }
 
 .edit_msg_table #recp_id, .edit_msg_table #cc_id, .edit_msg_table #bcc_id, .edit_msg_table #subject_id  {
-       width: 98%
+       width: 98%;
 }
 
 .note {
@@ -1198,21 +654,13 @@ body, #global {
        margin-left: 10%;
 }
 
-.toolbar {
-       text-align: center;
-}
+.toolbar { text-align: center }
 
-.toolbar img {
-       float: right;
-}
+.toolbar img { float: right }
 
-.imsg {
-       text-align: center;
-}
+.imsg { text-align: center }
 
-colgroup.entity {
-       text-align: center;
-}
+colgroup.entity { text-align: center }
 
 div.auto_complete ul {
        margin: 0;
@@ -1230,8 +678,8 @@ div.auto_complete ul strong.highlight {
        padding: 0;
 }
 
-.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  {
- width: 100%;
+.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 {
      width: 100%;
 }
 
 #address_book_popup {
@@ -1242,6 +690,9 @@ div.auto_complete ul strong.highlight {
        height: auto;
        z-index: 100;
        display: none;
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
 }
 
 #address_book_popup_container_div {
@@ -1250,67 +701,28 @@ div.auto_complete ul strong.highlight {
        height: 100%;
 }
 
-#address_book_popup_middle_div {
-       position: relative;
-}
-
-#address_book_inner_div {
-       margin: 5px;
-}
-
-#address_book_inner_div select {
-       width: 100%;
-}
+#address_book_popup_middle_div { position: relative }
 
-#address_book_inner_div input {
-       margin: 4px 5px 0 5px;
-}
+#address_book_inner_div { margin: 5px }
 
-.service .edit_col, .service .host_col {
-       display: none;
-}
+#address_book_inner_div select { width: 100% }
 
-.who_is_online .edit_col, .who_is_online .host_col {
-       display: block;
-}
+#address_book_inner_div input { margin: 4px 5px 0 5px }
 
-#citlogo {
-       display: none; /* Overriden later */
-}
+#citlogo { display: none; /* Overriden later */ }
 
 .sort_ascending, .sort_descending {
        background-repeat: no-repeat;
        background-position: center right;
 }
 
-.sort_ascending {
-       background-image: url("/static/down_pointer.gif");
-}
-
-.sort_descending {
-       background-image: url("/static/up_pointer.gif");
-}
-
-#message_list_hdr > table {
-       border-collapse: collapse;
-}
-
-#message_list_hdr > table > tbody > tr > th {
-       border-left: 2px solid white;
-       border-right: 2px solid white;
-}
+.sort_ascending { background-image: url("/static/webcit_icons/down_pointer.gif") }
 
-#summary_view > table { 
-       border-collapse: collapse;
-}
+.sort_descending { background-image: url("/static/webcit_icons/up_pointer.gif") }
 
-th.col1 {
-       border-left: none !important;
-}
+#message_list_hdr > table { border-collapse: collapse }
 
-th.col3 {
-       border-right: none !important;
-}
+#summary_view > table { border-collapse: collapse }
 
 /* System Administration Menu */
 
@@ -1324,9 +736,7 @@ ul.adminitems li {
        padding: 0;
 }
 
-ul.adminitems li span {
-       display: block;
-}
+ul.adminitems li span {        display: block }
 
 
 /* Room list - Tree Node */
@@ -1354,9 +764,7 @@ table.advanced {
        border-spacing: 15px;
 } 
 
-.advanced .boxcontent ul {
-       margin-left: 4em;
-}
+.advanced .boxcontent ul { margin-left: 4em }
 
 .advanced .boxcontent .col1, .advanced .boxcontent .col2 { 
        float: left;
@@ -1370,16 +778,11 @@ table.advanced {
 
 /* Site configuration */
 
-#TheTabs {
-}
-
-.tabs_background {
-       margin-top: 0;
-}
+.tabs_background { margin-top: 0 }
 
 /* Links and buttons */
 
-.logbuttons, .buttons {
+.buttons {
        margin: 2px auto 2px auto;
        width: 96%;
        text-align: center;
@@ -1426,23 +829,31 @@ ul.tabbed_dialog li {
 /* Calendar view */
 
 .calendar {
-       background-color: #204B78;
-       margin: 0;
-       width: 100%;
+       background-color: #424b52;
+       margin: 0 auto;
+       width: 98%;
        height: 302px;
+       border-radius: 8px;
+        -webkit-border-radius: 8px;
+        -moz-border-radius: 8px;
+        behavior: url(/static/styles/PIE.htc);
 }
 
-td.events_of_the_day {
-       width: 500px;
-}
+.calendar th { 
+       background-color: #424b52;
+       border-color: #424b52; }
+
+#inner_day { padding: 0.1em; }
+
+td.events_of_the_day { width: 50% }
 
 .events_of_the_day dl {
        margin: 0;
-       padding: 0;
+/*     padding: 0;
        position: absolute;
        top: 0;
-       left:0;
-       width: 500px;
+       left:0; */
+       width: 100%;
 }
 
 .events_of_the_day dl dt {
@@ -1472,16 +883,15 @@ td.events_of_the_day {
        text-align: left;       
 }
 
+.extra_events { border: 1px solid #ccc }
 
 .extra_events ul {
        list-style: none;
-       margin: 0;
        padding: 0;
+       margin: 0;
 }
 
-.extra_events ul li {
-       margin: 4px;
-}
+.extra_events ul li { margin: 4px }
 
 .calday, .calout, .calweekend, .caltoday {
        width: 14%;
@@ -1491,71 +901,57 @@ td.events_of_the_day {
 }
 
 .event_framed_unread {
+       -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
+       border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
        border: solid 1px red;
        background-color: yellow;
        z-index: 10;
        padding: 0 4px 0 4px; 
 }
 
-li.event_framed_unread span, a.event_title {
-       font-size: 100%;     
-}
+li.event_framed_unread span, a.event_title { font-size: 100% }
 
 .event_framed_read {
+       -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
+       border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
        border: solid 1px red;
        background-color: yellow;
        z-index: 10;
        padding: 0 4px 0 4px; 
 }
 
-li.event_framed_read span, a.event_title {
-       font-size: 100%;  
-}
+li.event_framed_read span, a.event_title { font-size: 100% }
 
-.event_read {
-}
+.event_read {}
 
-li.event_read span, a.event_read_title {
-       font-size: 100%;     
-}
+li.event_read span, a.event_read_title { font-size: 100% }
 
-.event_unread {
-}
+.event_unread {}
 
-li.event_unread span, a.event_read_title {
-       font-size: 100%;     
-}
+li.event_unread span, a.event_read_title { font-size: 100% }
 
-.mini_calendar {
-   color: #fff;
-}
+.mini_calendar { color: #fff }
 
-.mini_calendar a {
-   color: #fff;
-}
+.mini_calendar a { color: #fff }
 
-.mini_calendar a:link,.mini_calendar a:visited {
-   color: #fff;
-}
+.mini_calendar a:link,.mini_calendar a:visited { color: #fff }
 
 .mini_calendar a:hover,.mini_calendar a:active {
-   color: #fff;
-   background-color: #AD1C00;
+   color: #3E65AF;
+   background-color: #3E65AF;
 }
 
-.mini_calendar td a {
-   color: #fff;
-}
+.mini_calendar td a { color: #fff }
 
-.mini_calendar td a:link,.mini_calendar td a:visited {
-   color: #fff;
-}
+.mini_calendar td a:link,.mini_calendar td a:visited { color: #fff }
 
 .mini_calendar td a:hover,.mini_calendar td a:active {
-   color: #fff;
-   background-color: #AD1C00;
+   color: #3E65AF;
+   background-color: #3E65AF;
 
 }
 
@@ -1564,20 +960,9 @@ li.event_unread span, a.event_read_title {
        padding: 4px;
 }
 
-.roompic {
-       height: 48px;
-       width: 48px;
-       border: none;
-}
-
-#navbar ul li a img {
-      vertical-align: middle;
-      border: none;
-}
+.roompic { border: none; }
 
-.table-row, .table-alt-row {
-       width: 100%;
-}
+.table-row, .table-alt-row { width: 100% }
 
 .stickynote_outer {
        position: absolute;
@@ -1586,6 +971,10 @@ li.event_unread span, a.event_read_title {
        border: 1px solid #333;
        background-color: #ffff00;
        overflow: hidden;
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
 }
 
 .stickynote_titlebar {
@@ -1633,16 +1022,6 @@ li.event_unread span, a.event_read_title {
        height: 16px;
 }
 
-
-.login_using_openid_link {
-       text-align: center;
-}
-
-.openid_urlarea {
-       background: url('openid-small.gif') no-repeat scroll 0pt 50%;
-       padding-left: 18px;
-}
-
 .conftitle {
        font-size: 140%;
        font-weight: bold;
@@ -1656,66 +1035,71 @@ li.event_unread span, a.event_read_title {
 
 #noscript_warning {
        position: fixed;
+       z-index: 999;
        top: 0;
-       left: 0;
+       right: 0;
        background-color: #FF0000;
        color: #FFFFFF;
+       font-size: 120%;
+       border: 2px solid #FF0000;
 }
 
 .chatrecv_history_class {
        position: absolute;
-       top: 0;
-       left: 1%;
-       width: 74%;
-       margin-top: 5px;
-       margin-bottom: 5px;
+       top: 0.5em;
+       left: 0.5%;
+       width: 700px;
        height: 70%;
-       background-color: #FFFFFF;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       padding: 0.5em;
 }
 
 .chat_userlist_class {
        position: absolute;
-       top: 0;
-       right: 1%;
-       width: 23%;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       height: 70%;
-       background-color: #FFFFFF;
+       top: 0.5em;
+       right: 0.5%;
+       width: 110px;
+       height: 92%;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+        box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+        -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       padding: 0.5em;
 }
 
-.chatrecv_class {
-       display: none;
-}
+.chatrecv_class { display: none }
 
 .chatsend_class {
        position: absolute;
-       left: 1%;
-       right: 1%;
-       height: 28%;
-       bottom: 0;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       margin-left: auto;
-       margin-right: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
-       background-color: #004E79;
+       left: 0.5%;
+       bottom: 3%;
+       height: 95px;
+       width: 700px;
+       border: 2px solid #424d52;
+       border-radius: 8px; 
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       background-color: #7d858c;
+       padding: 0.5em;
 }
 
 .chat_myname_class {
@@ -1728,8 +1112,7 @@ li.event_unread span, a.event_read_title {
        color: #0000ff;
 }
 
-.chat_text_class {
-}
+.chat_text_class {}
 
 /*---------- bubble tooltips start -----------*/
 
@@ -1746,7 +1129,6 @@ a.event_title span, a.event_unread span, a.event_read span {
 
 a.event_title:hover, a.event_unread:hover, a.event_read:hover {
        z-index:25;
-       background:;
 }
 
 a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_read:hover span.tooltip {
@@ -1761,14 +1143,14 @@ a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_rea
 a.event_title:hover span.btttop, a.event_unread:hover span.btttop, a.event_read:hover span.btttop {
        display: block;
        padding: 30px 8px 0;
-       background: url(/static/bubble.gif) no-repeat top;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat top;
 }
 
 /* different middle bg for stretch */
 a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event_read:hover span.bttmiddle {
        display: block;
        padding: 0 8px; 
-       background: url(/static/bubble_filler.gif) repeat bottom; 
+       background: url(/static/webcit_icons/bubble_filler.gif) repeat bottom; 
        color: #022750;
        font-size: 10px;
 }
@@ -1776,7 +1158,162 @@ a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event
 a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event_read:hover span.bttbottom {
        display: block;
        padding:3px 8px 10px;
-       background: url(/static/bubble.gif) no-repeat bottom;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat bottom;
+}
+
+
+/*---------- styles for the blog view -----------*/
+
+.blog_post {
+}
+
+.blog_post_title {
+       font-size: 150%;
+       font-weight: bold;
+}
+
+.blog_post_title a:link, .blog_post_title a:visited, .blog_post_title a:active {
+       color: #000000;
+}
+
+.blog_post_title a:hover {
+       color: #0000FF;
+}
+
+
+.blog_post_header {
+       font-size: 100%;
+       font-style: italic;
+}
+
+.blog_post_content {
+}
+
+.blog_comment {
+       border: 1px solid grey;
+       margin-top: 5px;
+       margin-bottom: 5px;
+       margin-left: 5%;
+       margin-right: 5%;
+       padding: 5px;
+}
+
+.blog_comment_header {
+       margin-bottom: 1em;
+       font-size: 100%;
+       font-style: italic;
 }
 
-/*---------- bubble tooltips end -----------*/
+.post_a_comment_title {
+       font-size: 120%;
+}
+
+/*---------- styles for the attachments form -----------*/
+
+#attachments_form {
+       display:none;
+       position:absolute;
+       top:5%;
+       bottom:5%;
+       right:5%;
+       left:5%;
+       z-index: 10;
+       padding: 5px;
+       border-width: 1px;
+       border-style: solid;
+       border-color: #022750;
+       -webkit-border-radius: 10px;
+       -moz-border-radius: 10px;
+       border-radius: 10px;
+       background: #FFFFFF;
+       background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#DDDDEE));
+       background: -moz-linear-gradient(#FFFFFF, #DDDDEE);
+       background: linear-gradient(#FFFFFF, #DDDDEE);
+       -pie-background: linear-gradient(#FFFFFF, #DDDDEE);
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+}
+
+/*---------- styles for the login modal box -----------*/
+
+#loginbox_topline_container {
+       position: relative;
+       font-size: 110%;
+       color: white;
+}
+
+#loginbox_title {
+       float: left;
+       width: 75%;
+       text-align: center;
+       background-color: #022750;
+       border: 3px solid #022750;
+}
+
+#loginbox_closebutton {
+       float: right;
+       width: 23%;
+       text-align: right;
+       background-color: #ddd;
+       border: 3px solid #ddd;
+}
+
+#auth_container {
+       position: relative;
+       border: 1px solid #777;
+}
+
+#authbar {
+       top: 0;
+       left: 0;
+       width: 23%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+}
+
+#authbar ul {
+       margin-top: 1px;
+       margin-bottom: 0;
+}
+
+.authbox {
+       text-align: center;
+       position: absolute;
+       top: 0;
+       right: 0;
+       width: 75%;
+       height: 100%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+       background-color: #ddd;
+}
+
+#ajax_username_password_form, #ajax_newuser_form {
+       margin: auto;
+       width: 20em;
+}
+
+#ajax_username_password_form label, #ajax_newuser_form label {
+       float: left;
+       width: 10em;
+}
+
+.openid_urlarea {
+        background: url('../webcit_icons/openid-small.gif') no-repeat scroll 0pt 50%;
+        padding-left: 18px;
+}
+
+.older_blog_posts, .newer_blog_posts {
+       font-size: 110%;
+}
+
+.older_blog_posts {
+       text-align: left;
+}
+
+.newer_blog_posts {
+       text-align: right;
+}