

/* ------------ GENERAL -----------------------------*/

body {font-size: small;
    color:            #0B263B;
    font-family:      Arial, Verdana, sans-serif;
    background-color: #e7ebee}

.current {color: #ff0066}                        /* used to highlight the current item */
.error   {color: #ff0066; font-weight: bold}     /* for error messages */
.warning {color: #ff0066}                        /* for warning messages */
.note    {font-style: italic}

h1 {font-size: x-large; clear: both}
h2 {font-size: large; clear: both}

img {border: 0}

a:link    {color: #0B263B;    text-decoration: none; font-weight: bold}
a:visited {color: #0B263B; text-decoration: none; font-weight: bold}
a:hover   {color: #ff0066;   text-decoration: underline; font-weight: bold} 

tr.even_row {background-color: #ffffff}
tr.odd_row {background-color: #f2f4f6}

td, th {vertical-align: top}

td form {margin: 0}     /* Prevent IE from displaying margins around forms in tables. */

legend {font-weight: bold; font-size: large;
    font-family: Arial, Verdana, sans-serif;
    color: #0B263B}
fieldset {margin: 0; padding: 0; border: 0; 
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px}
fieldset.admin {width: 100%; padding: 0 1.0em 1.0em 1.0em;
    border: 1px solid #C3CCD3}
fieldset fieldset {position: relative; clear: left; width: 100%; padding: 0; border: 0; margin: 0}  /* inner fieldsets are invisible */
fieldset fieldset legend {font-size: 0}        /* for IE: even if there is no legend text, IE allocates space  */
  
.naked {margin: 0; padding: 0; border-width: 0} /* Invisible tables used for internal needs */
table.naked {width: 100%; height: 100%}
table:hover.naked {cursor: pointer}   /* set cursor to pointer; if you don't it doesn't show up when show_plus_link is false */

table.admin_table {border-spacing: 0px; border-collapse: collapse; border-color: #C3CCD3; border-style: solid;
    border-top-width: 0; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0}
.admin_table th, .admin_table td {vertical-align: middle; text-align: left;
    padding: 0.1em 0.5em 0.1em 0.5em;
    border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 1px; border-style: solid;}
.admin_table th {color: #ffffff; 
    background-color: #4b667b}
.admin_table td, .admin_table th {border-color: #C3CCD3}
.admin_table th:first-child {border-left-color: #4b667b}
.admin_table td.action {text-align: center}
.admin_table td.action div {display: inline-block}
.admin_table td.action div div {display: table-cell} 

div.freeze_panes {width: 100%; float: left}
.freeze_panes th div, .freeze_panes td div {display: table-cell; vertical-align: middle; white-space: nowrap; overflow: hidden}
.freeze_panes th div {height: 1.5em; max-height: 1.5em; min-height: 1.5em}
.freeze_panes td div {height: 2em; max-height: 2em; min-height: 2em}
.freeze_panes td.int div {width: 6em; text-align: right; padding-right: 0.5em}
.freeze_panes td.boolean {text-align: center}
.freeze_panes td.boolean div {display: block}
.freeze_panes td.boolean img {margin-top: 3px}
   
select.room_area_select {margin-right: 0.5em}

/* ------------ ADMIN.PHP ---------------------------*/
form.form_admin {float: left; clear: left; margin: 2em 0 0 0}
.form_admin fieldset {float: left; width: auto; border: 1px solid #C3CCD3; padding: 1em}
.form_admin legend {font-size: small}
.form_admin div {float: left; clear: left} 
.form_admin label {
    display: block; float: left; clear: left; 
    width: 7.0em; min-height: 2.0em; text-align: right;
}
.form_admin input {
    display: block; float: left; clear: right;
    width: 10.5em;
    margin-top: -0.2em; margin-left: 1.0em;
    font-family: Arial, Verdana, sans-serif; font-size: small;
}
.form_admin input.submit {
    width: auto; margin-top: 1.2em; margin-left: 8.0em
}
.admin h2 {clear: left}
div#area_form, div#room_form {float: left; padding: 0 0 2em 1em}
div#area_form {width: auto}
div#room_form {width: 95%}
div#custom_html {float: left; padding: 0 0 3em 1em}
#area_form form {float: left; margin-right: 1em}
#area_form label#area_label {display: block; float: left; font-weight: bold; margin-right: 1.0em}
#areaChangeForm select {display: block; float: left; margin: -0.1em 1.5em 0 0}
#areaChangeForm input {float: left; margin: -0.2em 0.5em 0 0}
#areaChangeForm input.button {display: block; float: left; margin: 0 0.7em}

div.header_columns, div.body_columns {position: relative; float: left; overflow-x: scroll; overflow-y: hidden}
div.header_columns {max-width: 20%}
div.body_columns {max-width: 80%}

.body_columns .admin_table th:first-child {border-left-color: #C3CCD3}


/* ------------ DAY/WEEK/MONTH.PHP ------------------*/

div#dwm_header {width: 100%; float: left; margin-top: 1.0em; margin-bottom: 0.5em}
div#dwm_areas  {float: left; margin-right: 2.0em}
div#dwm_rooms  {float: left; margin-right: 2.0em}
#dwm_header h3 {font-size: small; font-weight: normal; text-decoration: underline; 
    margin-top: 0; margin-bottom: 0.5em; padding-bottom: 0}
#dwm_header ul {list-style-type: none; padding-left: 0; margin-left: 0; margin-top: 0}
#dwm_header li {padding-left: 0; margin-left: 0}

div#dwm {margin-bottom: 0.5em}
#dwm {text-align: center}
#dwm h2 {margin-bottom: 0}
#dwm div.timezone {opacity: 0.8}

div.date_nav    {float: left;  width: 100%; margin-top: 0.5em; margin-bottom: 0.5em; font-weight: bold}
div.date_before {float: left;  width: 33%; text-align: left}
div.date_now    {float: left;  width: 33%; text-align: center}
div.date_after  {float: right; width: 33%; text-align: right}

table.dwm_main {clear: both; width: 100%; border-spacing: 0; border-collapse: separate;
    border-color: #e7ebee;
    border-width: 0px;
    border-style: solid}
.dwm_main td {padding: 0;
    border-top:  1px solid #ffffff;
    border-left: 1px solid #e7ebee;
    border-bottom: 0;
    border-right: 0}
.dwm_main td:first-child {border-left: 0}
.dwm_main th {font-size: small; font-weight: normal; vertical-align: top; padding: 0 2px;
    color: #ffffff; 
    background-color: #4b667b;
    border-left: 1px solid #e7ebee}
.dwm_main th:first-child {border-left: 0}
.dwm_main a {display: block; min-height: inherit}
.dwm_main tbody a {padding: 0 2px}
.dwm_main th a:link    {color: #ffffff;    text-decoration: none; font-weight: normal}
.dwm_main th a:visited {color: #ffffff; text-decoration: none; font-weight: normal}
.dwm_main th a:hover   {color: #ffffff;   text-decoration:underline; font-weight: normal}

.dwm_main#day_main th.first_last {width: 1%}
.dwm_main#week_main th {width: 14.1%}
.dwm_main#week_main th.first_last {width: 1%; vertical-align: bottom}
.dwm_main#month_main th {width: 14.3%}
.dwm_main#month_main td {border-top:  1px solid #e7ebee}
.dwm_main#month_main td.valid   {background-color: #ffffff}
.dwm_main#month_main td.invalid {background-color: #d1d9de}
.dwm_main#month_main a {height: 100%; width: 100%; padding: 0 2px 0 2px}

a.new_booking {display: block; font-size: medium; text-align: center}
.new_booking img {margin: auto; padding: 4px 0 2px 0}
img.repeat_symbol {float: right; padding: 3px}
.dwm_main#month_main img.repeat_symbol {padding: 2px}

.new_booking img {display: none}

div.cell_container {position: relative; float: left; width: 100%;        /* the containing div for a.new_booking and the naked table  */ 
height: 100px} /* NOTE:  if you change the value of (min-)height, make sure you */
                                                                         /* also change the value of height in mrbs-ielte6.css */
.month a.new_booking {position: absolute; top: 0; left: 0; z-index: 10}  /* needs to be above the base, but below the date (monthday) */

.dwm_main#month_main table.naked {position: absolute; top: 0; left: 0;  /* used when javascript cursor set - similar to new_booking  */
    width: 100%; height: 100%; z-index: 10}
       
div.cell_header {position: relative; width: 2.0em; z-index: 20;         /* needs to be above the new booking anchor */
     min-height: 20%; height: 20%; max-height: 20%; overflow: hidden}
                                                                                  
a.monthday {display: block; width: 100%; font-size: medium}             /* the date in the top left corner */

div.booking_list {position: relative; z-index: 20;                      /* contains the list of bookings */
    max-height: 80%; font-size: x-small;                                /* needs to be above new_booking and naked table */
    overflow: auto}
.booking_list a {font-size: x-small}


td.A {background-color: #ffff99}
.month div.A {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #ffff99}
td.B {background-color: #99cccc}
.month div.B {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #99cccc}
td.C {background-color: #ffffcd}
.month div.C {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #ffffcd}
td.D {background-color: #cde6e6}
.month div.D {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #cde6e6}
td.E {background-color: #6dd9c4}
.month div.E {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #6dd9c4}
td.F {background-color: #82adad}
.month div.F {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #82adad}
td.G {background-color: #ccffcc}
.month div.G {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #ccffcc}
td.H {background-color: #d9d982}
.month div.H {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #d9d982}
td.I {background-color: #99cc66}
.month div.I {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #99cc66}
td.J {background-color: #e6ffe6}
.month div.J {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #e6ffe6}

.dwm_main#week_main th.hidden_day, .dwm_main#month_main th.hidden_day     
    {width: 0%; 
     display: none    }
td.hidden_day     {background-color: #d1d9de; /* hidden columns (eg weekends) in the week and month views */
    font-size: medium; font-weight: bold;
    border-top: 1px solid #d1d9de;
     display: none    }
td.row_highlight  {background-color: #ffc0da} /* used for highlighting a row */
td.even_row       {background-color: #ffffff}      /* even rows in the day view */
td.odd_row        {background-color: #f2f4f6}       /* odd rows in the day view */
td.row_labels     {background-color: #4b667b; white-space: nowrap}    /* used for the row labels column */
.row_labels a:link    {color: #ffffff;    text-decoration: none; font-weight: normal}
.row_labels a:visited {color: #ffffff; text-decoration: none; font-weight: normal}
.row_labels a:hover   {color: #ffffff;   text-decoration:underline; font-weight: normal}

.dwm_main td:hover.odd_row, .dwm_main td:hover.even_row {background-color: #ffc0da}
.dwm_main td:hover.multiple_booking.odd_row {background-color: #f2f4f6}
.dwm_main td:hover.multiple_booking.even_row {background-color: #ffffff}
.dwm_main tr:hover td.row_labels {background-color: #ffc0da; color: #0B263B}
.dwm_main#month_main td:hover.valid {background-color: #ffc0da}



td.highlight         {background-color: #ffc0da; color: #0B263B}
.highlight a:link    {font-weight: normal; color: #0B263B}       /* used for JavaScript highlighting  */
.highlight a:visited {font-weight: normal; color: #0B263B}       /* used for JavaScript highlighting  */
.dwm_main tbody tr:hover a:link    {color: #0B263B}   /* used for CSS highlighting (but will also be used in JavaScript highlighting */
.dwm_main tbody tr:hover a:visited {color: #0B263B}   /* used for CSS highlighting (but will also be used in JavaScript highlighting */
.month .highlight a:link    {font-weight: bold}
.month .highlight a:visited {font-weight: bold}


div.slots1 {min-height: 17px; max-height: 17px; height: 17px}
div.slots2 {min-height: 35px; max-height: 35px; height: 35px}
div.slots3 {min-height: 53px; max-height: 53px; height: 53px}
div.slots4 {min-height: 71px; max-height: 71px; height: 71px}
div.slots5 {min-height: 89px; max-height: 89px; height: 89px}
div.slots6 {min-height: 107px; max-height: 107px; height: 107px}
div.slots7 {min-height: 125px; max-height: 125px; height: 125px}
div.slots8 {min-height: 143px; max-height: 143px; height: 143px}
div.slots9 {min-height: 161px; max-height: 161px; height: 161px}
div.slots10 {min-height: 179px; max-height: 179px; height: 179px}
div.slots11 {min-height: 197px; max-height: 197px; height: 197px}
div.slots12 {min-height: 215px; max-height: 215px; height: 215px}
div.slots13 {min-height: 233px; max-height: 233px; height: 233px}
div.slots14 {min-height: 251px; max-height: 251px; height: 251px}
div.slots15 {min-height: 269px; max-height: 269px; height: 269px}
div.slots16 {min-height: 287px; max-height: 287px; height: 287px}
div.slots17 {min-height: 305px; max-height: 305px; height: 305px}
div.slots18 {min-height: 323px; max-height: 323px; height: 323px}
div.slots19 {min-height: 341px; max-height: 341px; height: 341px}
div.slots20 {min-height: 359px; max-height: 359px; height: 359px}
div.slots21 {min-height: 377px; max-height: 377px; height: 377px}
div.slots22 {min-height: 395px; max-height: 395px; height: 395px}
div.slots23 {min-height: 413px; max-height: 413px; height: 413px}
div.slots24 {min-height: 431px; max-height: 431px; height: 431px}
div.slots25 {min-height: 449px; max-height: 449px; height: 449px}
div.slots26 {min-height: 467px; max-height: 467px; height: 467px}
div.slots27 {min-height: 485px; max-height: 485px; height: 485px}
div.slots28 {min-height: 503px; max-height: 503px; height: 503px}
div.slots29 {min-height: 521px; max-height: 521px; height: 521px}
div.slots30 {min-height: 539px; max-height: 539px; height: 539px}
div.slots31 {min-height: 557px; max-height: 557px; height: 557px}
div.slots32 {min-height: 575px; max-height: 575px; height: 575px}
div.slots33 {min-height: 593px; max-height: 593px; height: 593px}
div.slots34 {min-height: 611px; max-height: 611px; height: 611px}
div.slots35 {min-height: 629px; max-height: 629px; height: 629px}
div.slots36 {min-height: 647px; max-height: 647px; height: 647px}
div.slots37 {min-height: 665px; max-height: 665px; height: 665px}
div.slots38 {min-height: 683px; max-height: 683px; height: 683px}
div.slots39 {min-height: 701px; max-height: 701px; height: 701px}
div.slots40 {min-height: 719px; max-height: 719px; height: 719px}
div.slots41 {min-height: 737px; max-height: 737px; height: 737px}
div.slots42 {min-height: 755px; max-height: 755px; height: 755px}
div.slots43 {min-height: 773px; max-height: 773px; height: 773px}
div.slots44 {min-height: 791px; max-height: 791px; height: 791px}
div.slots45 {min-height: 809px; max-height: 809px; height: 809px}
div.slots46 {min-height: 827px; max-height: 827px; height: 827px}
div.slots47 {min-height: 845px; max-height: 845px; height: 845px}
div.slots48 {min-height: 863px; max-height: 863px; height: 863px}
div.slots49 {min-height: 881px; max-height: 881px; height: 881px}
div.slots50 {min-height: 899px; max-height: 899px; height: 899px}
div.slots51 {min-height: 917px; max-height: 917px; height: 917px}
div.slots52 {min-height: 935px; max-height: 935px; height: 935px}
div.slots53 {min-height: 953px; max-height: 953px; height: 953px}
div.slots54 {min-height: 971px; max-height: 971px; height: 971px}
div.slots55 {min-height: 989px; max-height: 989px; height: 989px}
div.slots56 {min-height: 1007px; max-height: 1007px; height: 1007px}
div.slots57 {min-height: 1025px; max-height: 1025px; height: 1025px}
div.slots58 {min-height: 1043px; max-height: 1043px; height: 1043px}
div.slots59 {min-height: 1061px; max-height: 1061px; height: 1061px}
div.slots60 {min-height: 1079px; max-height: 1079px; height: 1079px}
div.celldiv {overflow: hidden; margin: 0; padding: 0}
.row_labels div.celldiv {overflow: visible}  /* we want to see the content in the row label columns */
div.mini, div.maxi {position: relative}     /* establish a relative position for the absolute position to follow */
div.multiple_control {
    display: none;       /* will be over-ridden by JavaScript if enabled */
    position: absolute; z-index: 20;
    width: 17px;
    text-align: center;
    padding: 0;
    border-right: 1px solid #e7ebee;
    background-color: #ffff22}
.mini div.multiple_control {                /* heights for maxi are set using in-line styles */
    height: 17px;
    max-height: 17px;
    min-height: 17px}
div:hover.multiple_control {cursor: pointer}
.multiple_booking table {height: 100%; width: 100%; border-spacing: 0; border-collapse: collapse}
.multiple_booking td {border-left: 0}

/* used for toggling multiple bookings from mini to maxi size */
.maximized div.mini {display: none}
.maximized div.maxi {display: block}
.minimized div.mini {display: block}
.minimized div.maxi {display: none}

/* booking privacy status */
.private {opacity: 0.6; font-style: italic}

/* booking approval status */
.awaiting_approval {opacity: 0.6}
.awaiting_approval a:before {content: "? "}

/* booking confirmation status */
.tentative {opacity: 0.6}
.tentative a {font-weight: normal}


/* ------------ DEL.PHP -----------------------------*/
div#del_room_confirm {padding-bottom: 3em}
#del_room_confirm p {text-align: center; font-size: large; font-weight: bold}
div#del_room_confirm_links {position: relative; margin-left: auto; margin-right: auto}
span#del_yes {display:block; position: absolute; right: 50%; margin-right: 1em; font-size: large}
span#del_no  {display:block; position: absolute; left: 50%; margin-left: 1em; font-size: large}
#del_room_confirm_links a:hover {cursor: pointer}                  /* for IE */
#del_room_confirm_links span:hover {text-decoration: underline}    /* for Firefox */


/* ------------ EDIT_AREA_ROOM.PHP ------------------*/
.edit_area_room .form_general fieldset fieldset {padding-top: 0.5em; padding-bottom: 0.5em}
.edit_area_room .form_general fieldset fieldset legend {font-size: small; font-style: italic; font-weight: normal}
.edit_area_room fieldset#time_settings {padding:0; margin: 0}
span#private_display_caution {display: block; margin-top: 1em; font-style: italic; font-weight: normal}
#book_ahead_periods_note span {display: block; float: left; width: 24em; margin: 0 0 1em 1em; font-style: italic}
.edit_area_room .form_general textarea {height: 6em; width: 25em}
.edit_area_room div#custom_html {margin-top: 8px}


/* ------------ FORM_GENERAL ------------------------*/
/*                                                   */
/*   used in EDIT_ENTRY.PHP, REPORT.PHP,             */
/*   SEARCH.PHP and EDIT_AREA_ROOM.PHP               */

form.form_general {margin-top: 2.0em; width: 100%}
.edit_entry     form.form_general {min-width: 37.0em}
.report         form.form_general {min-width: 25.0em}
.search         form.form_general {min-width: 21.0em}
.edit_area_room form.form_general {min-width: 28.0em}
form.form_general#logon       {min-width: 21.0em}
form.form_general#db_logon    {min-width: 25.0em}
form#edit_room {float: left; width: auto; margin: 0 2em 1em 1em}

.form_general div {float: left; clear: left; width: 100%}
.form_general div div {float: none; clear: none; width: auto}
.form_general div.group {float: left}
.form_general div.group_container {float: left}
.form_general .group_container div.group {clear: left}
.form_general div.group.ampm {width: 16em}
.edit_area_room div.group {clear: none; width: auto}
.edit_area_room div.group#private_override div {clear: left}
.form_general fieldset {width: auto; border: 0; padding-top: 2.0em}
#edit_room fieldset {width: 100%; float: left; padding: 0; margin: 0}
#edit_room fieldset.submit_buttons {margin-top: 1em}

.form_general label {
    display: block; float: left; overflow: hidden;
    min-height: 1.0em; 
    width: 20%; 
    text-align: right; padding-bottom: 0.8em; font-weight: bold;
}

.edit_entry     .form_general label {max-width: 10em}
.report         .form_general label {max-width: 12em}
.search         .form_general label {max-width: 8em}
.edit_area_room .form_general label {max-width: 30em; width: 15em}
#logon                    label {max-width: 8em}
#db_logon                 label {max-width: 12em}

.form_general .group      label {clear: none; width: auto; max-width: 100%; font-weight: normal; overflow: visible; text-align: left}

.form_general input {
    display: block; float: left; margin-left: 1.0em; 
    font-family: Arial, Verdana, sans-serif; font-size: small
}
.edit_entry     .form_general input {width: 26em}
.report         .form_general input {width: 12em}
.search         .form_general input {width: 12em}
.edit_area_room .form_general input {width: 12em}
#logon                    input {width: 12em}
#db_logon                 input {width: 12em}
.form_general .group      input {clear: none; width: auto}
.form_general input.date {width: 6em}

/* font family and size needs to be the same for input and textarea as their widths are defined in ems */
.form_general textarea {
    display: block; float: left; 
    width: 26em; height: 11em; 
    margin-left: 1.0em; margin-bottom: 0.5em;
    font-family: Arial, Verdana, sans-serif; font-size: small
}
.form_general select {float: left; margin-left: 1.0em; margin-right: -0.5em; margin-bottom: 0.5em}
.form_general input.radio {margin-top: 0.1em; margin-right: 2px}
.form_general input.checkbox {width: auto; margin-top: 0.2em}
.edit_area_room .form_general input.checkbox {margin-left: 1.0em}
.edit_area_room .form_general #booking_policies input.text {width: 2.0em}
.form_general input.submit {display: block; width: auto; float: left; clear: left; margin-top: 1.0em}

div#edit_entry_submit {width: 20%; max-width: 10em}
div#report_submit     {width: 20%; max-width: 12em}
div#search_submit     {width: 20%; max-width: 8em}
div#logon_submit      {width: 20%; max-width: 8em}
div#db_logon_submit   {width: 20%; max-width: 12em}
#edit_entry_submit input, #report_submit input, #search_submit input, #logon_submit input, #db_logon_submit input
    {position: relative; left: 100%; width: auto}
div#edit_area_room_submit_back {float: left; width: 15em; max-width: 30em}
div#edit_area_room_submit_save {float: left; clear: none; width: auto}
#edit_area_room_submit_back input {float: right}

.form_general .div_dur_mins input{width: 4.0em}
.form_general .div_time input {width: 2.0em}
.form_general .div_time input.time_hour {text-align: right}
.form_general .div_time input.time_minute {text-align: left; margin-left: 0}
.form_general .div_time span + input {margin-left: 0}
.form_general .div_time span {display: block; float: left; width: 0.5em; text-align: center}
.form_general input#duration {width: 2.0em; text-align: right}
.form_general select#dur_units {margin-right: 1.0em; margin-left: 0.5em}
.form_general div#ad {float: left}
.form_general #ad label {clear: none; text-align: left; font-weight: normal}
.form_general input#all_day {width: auto; margin-left: 3.0em; margin-right: 0.5em}
.form_general #div_rooms select, .form_general #div_typematch select {float: left; margin-right: 2.0em}
fieldset#rep_info {border-top: 1px solid #C3CCD3; padding-top: 0.7em}
.form_general input#rep_num_weeks {width: 2.0em}

.edit_area_room span.error {display: block; width: 100%; margin-bottom: 0.5em}

    

/* ------------ EDIT_USERS.PHP ------------------*/
div#form_container {width: auto; position: relative; float: left}    /* this is the containing block against which the absolute positioning works */
#form_container input.submit {width: auto; position: absolute; bottom: 2.0em}  /* bring both buttons up          */
form#form_edit_users {width: auto; margin-top: 2.0em}
#form_edit_users fieldset {float: left; width: auto}  
#form_edit_users div {float: left; clear: left; width: auto}
#form_edit_users div#edit_users_input_container {padding-bottom: 4.0em}    /* padding-bottom leaves room for the submit buttons. */
                                                                           /* Apply it to the div because applying it to the     */
                                                                           /* fieldset does not work in all browsers (eg Safari) */
#form_edit_users label{
    display: block; float: left;
    min-height: 2.0em; 
    width: 10.0em;  
    text-align: right;
}
#form_edit_users input {
    display: block; float: left;
    width: 10.0em; 
    margin-left: 1.0em; 
}
#form_edit_users select, #form_edit_users textarea {
    margin-left: 1.0em;
}
#form_edit_users textarea {margin-bottom: 0.5em}

#form_edit_users p {display: block; float: left; clear: left; padding: 0.5em 0 0.7em 0; margin: 0;
                    width: 26em}
#form_edit_users ul {clear: left}
#form_edit_users input.submit {right: 2.0em}                                   /* and put the OK on the right     */
#form_delete_users input.submit {left: 2.0em}                                  /* and put the Delete on the left */
#form_edit_users input.checkbox {width: auto; margin-left: 1.0em}
form.edit_users_error {width: 10em; margin-top: 2.0em}
div#user_list {float: left; width: 95%; padding: 2em 0 2em 1em}
form#add_new_user {margin-left: 1em}



/* ------------ FUNCTIONS.INC -------------------*/
#logon_box a {display: block; width: 100%; padding-top: 0.3em; padding-bottom: 0.3em}
table#banner {width: 100%; border-spacing: 0; border-collapse: collapse;
    border-color: #e7ebee;
    border-width: 0px;
    border-style: solid}
#banner td {text-align: center; vertical-align: middle; background-color: #4b667b;
    border-color: #e7ebee; border-style: solid;
    border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 1px;
    padding: 6px; color: #ffffff}
#banner td:first-child {border-left-width: 0}
#banner td#company {font-size: large}
#banner #company div {width: 100%}
#banner a:link    {color: #ffffff;    text-decoration: none; font-weight: normal}
#banner a:visited {color: #ffffff; text-decoration: none; font-weight: normal}
#banner a:hover   {color: #ffffff;   text-decoration:underline; font-weight: normal}
#banner input.date {width: 6.5em; text-align: center}

table#colour_key {clear: both; border-spacing: 0; border-collapse: collapse}
#colour_key td {width: 7.0em; padding: 2px; font-weight: bold;
    color: #0B263B;
    border: 1px solid #ffffff}
#colour_key td#row_padding {border-right: 0; border-bottom: 0}
#header_search input {width: 6.0em}
div#n_outstanding {margin-top: 0.5em}
#banner .outstanding a {color: #FFF36C}

/* ------------ HELP.PHP ------------------------*/
table#version_info {border-spacing: 0; border-collapse: collapse}
#version_info td {padding: 0 1.0em 0 0; vertical-align: bottom}
#version_info td:first-child {text-align: right}

/* ------------ MINCALS.PHP ---------------------*/
div#cals {float: right}
div#cal_last {float: left}
div#cal_this {float: left; margin-left: 1.0em}
div#cal_next {float: left; margin-left: 1.0em}

table.calendar {border-spacing: 0; border-collapse: collapse}
.calendar th {min-width: 2.0em; text-align: center; font-weight: normal; background-color: transparent; color: #0B263B}
.calendar td {text-align: center; font-size: x-small}
.calendar th.hidden {background-color: #dae0e4} 
.calendar td.hidden {background-color: #dae0e4; font-weight: bold} 
.calendar a.current {font-weight: bold; color: #ff0066}
td#sticky_day {border: 1px dotted #ff0066}
td.mincals_week_number { opacity: 0.5; font-size: 60%; }

/* ------------ PENDING.PHP ------------------*/
table#pending_list {width: 100%}
#pending_list form {float: left; margin: 0 0.5em}
#pending_list table {width: 100%; border-spacing: 0px; border-collapse: collapse; border: 0}
#pending_list td.sub_table {padding: 0; margin: 0}
#pending_list table.minimised tbody {display: none}
#pending_list table th {border-top: 1px solid #e7ebee;
                        background-color: #4b667b}
#pending_list td {border-top-width: 1px}
#pending_list .control {padding-left: 0; padding-right: 0; text-align: center;
                        color: #0B263B}
#pending_list th.control + th {border-left-width: 0}
#pending_list td.control + td {border-left-width: 0}
#pending_list table th.control{background-color: #FFF36C; cursor: default}
#pending_list table th a {color: #ffffff}
#pending_list table td {border-color: #C3CCD3;
                        background-color: #FFFCDA}
#pending_list .control             {width: 1.2em}
#pending_list th.header_name       {width: 10%}
#pending_list th.header_create     {width: 10%}
#pending_list th.header_area       {width: 10%}
#pending_list th.header_room       {width: 10%}
#pending_list th.header_action     {width: 20em}
#pending_list table th.header_start_time {text-transform: uppercase}

/* ------------ REPORT.PHP ----------------------*/
.div_report h2, #div_summary h1 {border-top: 2px solid #4b667b;
    padding-top: 0.5em; margin-top: 2.0em}
.div_report h3 {border-top: 1px solid #879AA8;
    padding-top: 0.5em; margin-bottom: 0}
.div_report table {clear: both; width: 100%; margin-top: 0.5em}
.div_report col.col1 {width: 11em}
.div_report td:first-child {text-align: right; font-weight: bold}
.div_report .createdby td, .div_report .lastupdate td {font-size: x-small}
div.report_entry_title {width: 100%; float: left;
    border-top: 1px solid #C3CCD3; margin-top: 0.8em}
div.report_entry_name  {width: 40%;  float: left; font-weight: bold}
div.report_entry_when  {width: 60%;  float: right; text-align: right}
#div_summary table {border-spacing: 1px; border-collapse: collapse;
    border-color: #0B263B; border-style: solid;
    border-top-width: 1px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 1px}
#div_summary td, #div_summary th {padding: 0.1em 0.2em 0.1em 0.2em;
    border-color: #0B263B; border-style: solid;
    border-top-width: 0; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0}
#div_summary th {background-color: transparent; font-weight: bold; text-align: center}
#div_summary thead tr:nth-child(2) th {font-weight: normal; font-style: italic}
#div_summary th:first-child {text-align: right}
#div_summary tfoot th {text-align: right}
#div_summary td {text-align: right}
#div_summary tbody td:nth-child(even), #div_summary tfoot th:nth-child(even) {border-right-width: 0}
#div_summary td:first-child {font-weight: bold}
p.report_entries {font-weight: bold}
.report .form_general fieldset fieldset {padding-top: 0.5em; padding-bottom: 0.5em}
.report .form_general fieldset fieldset legend {font-size: small; font-style: italic; font-weight: normal}


/* ------------ SEARCH.PHP ----------------------*/
span#search_str {color: #ff0066}
p#nothing_found {font-weight: bold}
div#record_numbers {font-weight: bold}
div#record_nav {font-weight: bold; margin-bottom: 1.0em}
table#search_results {border-spacing: 1px; border-collapse: collapse}
#search_results td, #search_results th {border: 1px solid #0B263B; padding: 0.1em 0.2em 0.1em 0.2em}

/* ------------ SITE_FAQ ------------------------*/
.help q {font-style: italic}
.help dfn {font-style: normal; font-weight: bold}
#site_faq_contents li a {text-decoration: underline}
div#site_faq_body {margin-top: 2.0em}
#site_faq_body h4 {border-top: 1px solid #C3CCD3; padding-top: 0.5em; margin-top: 0} 
#site_faq_body div {padding-bottom: 0.5em}
#site_faq_body :target {background-color: #ffe6f0}


/* ------------ TRAILER.INC ---------------------*/
div#trailer {border-top: 1px solid #0B263B; 
             border-bottom: 1px solid #0B263B; 
             float: left; width: 100%; 
             margin-top: 1.5em; margin-bottom: 1.5em;
             padding: 0.3em 0 0.3em 0}
#trailer div {float: left; width: 100%}
#trailer div.trailer_label {float: left; clear: left; width: 20%; max-width: 9.0em; font-weight: bold}
#trailer div.trailer_links {float: left;              width: 79%}  /* 79 to avoid rounding problems */
.trailer_label span {margin-right: 1.0em}

#trailer span.current {font-weight: bold}
#trailer span.hidden {font-weight: normal; 
    background-color: #e7ebee;  /* hack: only necessary for IE6 to prevent blurring with opacity */
    opacity: 0.5}  /* if you change this value, change it in the IE sheets as well */
#trailer .current a {color: #ff0066}

div#simple_trailer {clear: both; width: 100%; text-align: center; padding-top: 1.0em; padding-bottom: 2.0em}
#simple_trailer a {padding: 0 1.0em 0 1.0em}


/* ------------ VIEW_ENTRY.PHP ------------------*/
.view_entry #entry td:first-child {text-align: right; font-weight: bold; padding-right: 1.0em}
.view_entry div#view_entry_nav {margin-top: 1.0em}
.view_entry #approve_buttons form {float: left; margin-right: 2em}
.view_entry #approve_buttons legend {font-size: 0}
.view_entry div#returl {margin-top: 1em}
#approve_buttons td {vertical-align: middle; padding-top: 1em}
#approve_buttons td#caption {text-align: left}
#approve_buttons td#note {padding-top: 0}
#approve_buttons td#note form {width: 100%}
#approve_buttons td#note textarea {width: 100%; height: 6em}
