




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


body {font-size: small;

    color:            #0B263B;

    font-family:      Arial, Verdana, sans-serif;

    background-color: #fff}



.current {color: #f3971a}                        /* used to highlight the current item */

.error   {color: #f3971a; font-weight: bold}     /* for error messages */



h1 {font-size: x-large}

h2 {font-size: large}



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

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

a:hover   {color: #f3971a;   text-decoration: underline; font-weight: bold} 





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}

fieldset.admin {width: 100%; padding: 0 1.0em 1.0em 1.0em;

    border: 1px solid #1b3887}

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  */







table.admin_table {border-spacing: 0px; border-collapse: collapse; border-color: #1b3887; border-style: solid;

    border-top-width: 0; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 0}

.admin_table th {color: #ffffff; font-size: small;

    background-color: #1b3887; 

    padding: 0.1em 0.5em 0.1em 0.5em;

    border-top-width: 1px; border-right-width: 0; border-bottom-width: 0; border-left-width: 1px; border-style: solid;

    border-top-color: #1b3887; border-left-color: #fff;

    vertical-align: middle; text-align: left}

.admin_table th:first-child {border-left-color: #1b3887}

.admin_table td {padding: 0.1em 0.5em 0.1em 0.5em; 

    border-top-width: 1px; border-right-width: 0; border-bottom-width: 0; border-left-width: 1px; border-style: solid;

    border-top-color: #1b3887; border-left-color: #1b3887;

    vertical-align: middle}

    

.naked {margin: 0; padding: 0; border-width: 0} /* Invisible tables used for internal needs */

table:hover.naked {cursor: pointer}   /* set cursor to pointer; if you don't it doesn't show up when show_plus_link is false */





/* ------------ ADMIN.PHP ---------------------------*/


table#admin {margin-bottom: 1.0em}

#admin th {text-align: center}

#admin td {padding: 0.5em; vertical-align: top}

.form_admin fieldset {border: 0; padding-top: 1.0em; width: 19.5em}  /* width necessary for Safari */

.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

}





/* ------------ 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.2em; 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}



h2#dwm {text-align: center}



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: 0}

.dwm_main td {padding: 0;

   border-top:  1px solid #ffffff;

   border-left: 1px solid #fff;

   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 0 2px;

    color: #ffffff; 

    background-color: #1b3887;

    border-left: 1px solid #fff}

.dwm_main th:first-child {border-left: 0}

.dwm_main a {display: block; height: 100%}

.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#day_main td, .dwm_main#week_main td {padding: 0 2px 0 2px}

.dwm_main#week_main th {width: 14%}

.dwm_main#week_main th.first_last {width: 1%; vertical-align: bottom}

.dwm_main#month_main th {width: 14%}                                                   /* 7 days in the week */

.dwm_main#month_main td {border-top:  1px solid #fff}

.dwm_main#month_main td.valid   {background-color: #ffffff}

.dwm_main#month_main td.invalid {background-color: #d1d9de}

.dwm_main#month_main a {padding: 0 2px 0 2px}



a.new_booking {display: block; width: 100%; font-size: medium; text-align: center}

.new_booking img {margin: auto; border: 0; padding: 4px 0 2px 0}

.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}



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.times          {background-color: #1b3887}   /* used for the column with times/periods */

.times a:link    {color: #ffffff;    text-decoration: none; font-weight: normal}

.times a:visited {color: #ffffff; text-decoration: none; font-weight: normal}

.times a:hover   {color: #ffffff;   text-decoration:underline; font-weight: normal}




.dwm_main tr:hover td:hover.odd_row, .dwm_main tr:hover td:hover.even_row {background-color: #ffc0da}

.dwm_main tr:hover td.times {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.celldiv1 {display: block; overflow: hidden; margin: 0; padding: 0; height:17px; max-height: 17px; min-height: 17px;}
div.celldiv2 {display: block; overflow: hidden; margin: 0; padding: 0; height:35px; max-height: 35px; min-height: 35px;}
div.celldiv3 {display: block; overflow: hidden; margin: 0; padding: 0; height:53px; max-height: 53px; min-height: 53px;}
div.celldiv4 {display: block; overflow: hidden; margin: 0; padding: 0; height:71px; max-height: 71px; min-height: 71px;}
div.celldiv5 {display: block; overflow: hidden; margin: 0; padding: 0; height:89px; max-height: 89px; min-height: 89px;}
div.celldiv6 {display: block; overflow: hidden; margin: 0; padding: 0; height:107px; max-height: 107px; min-height: 107px;}
div.celldiv7 {display: block; overflow: hidden; margin: 0; padding: 0; height:125px; max-height: 125px; min-height: 125px;}
div.celldiv8 {display: block; overflow: hidden; margin: 0; padding: 0; height:143px; max-height: 143px; min-height: 143px;}
div.celldiv9 {display: block; overflow: hidden; margin: 0; padding: 0; height:161px; max-height: 161px; min-height: 161px;}
div.celldiv10 {display: block; overflow: hidden; margin: 0; padding: 0; height:179px; max-height: 179px; min-height: 179px;}
div.celldiv11 {display: block; overflow: hidden; margin: 0; padding: 0; height:197px; max-height: 197px; min-height: 197px;}
div.celldiv12 {display: block; overflow: hidden; margin: 0; padding: 0; height:215px; max-height: 215px; min-height: 215px;}
div.celldiv13 {display: block; overflow: hidden; margin: 0; padding: 0; height:233px; max-height: 233px; min-height: 233px;}
div.celldiv14 {display: block; overflow: hidden; margin: 0; padding: 0; height:251px; max-height: 251px; min-height: 251px;}
div.celldiv15 {display: block; overflow: hidden; margin: 0; padding: 0; height:269px; max-height: 269px; min-height: 269px;}
div.celldiv16 {display: block; overflow: hidden; margin: 0; padding: 0; height:287px; max-height: 287px; min-height: 287px;}
div.celldiv17 {display: block; overflow: hidden; margin: 0; padding: 0; height:305px; max-height: 305px; min-height: 305px;}
div.celldiv18 {display: block; overflow: hidden; margin: 0; padding: 0; height:323px; max-height: 323px; min-height: 323px;}
div.celldiv19 {display: block; overflow: hidden; margin: 0; padding: 0; height:341px; max-height: 341px; min-height: 341px;}
div.celldiv20 {display: block; overflow: hidden; margin: 0; padding: 0; height:359px; max-height: 359px; min-height: 359px;}
div.celldiv21 {display: block; overflow: hidden; margin: 0; padding: 0; height:377px; max-height: 377px; min-height: 377px;}
div.celldiv22 {display: block; overflow: hidden; margin: 0; padding: 0; height:395px; max-height: 395px; min-height: 395px;}







/* ------------ 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 ------------------*/


form.form_edit_area_room {

    position: relative; width: 23.5em;

    margin-top: 2em; margin-bottom: 2em; margin-left: auto; margin-right: auto

}

.form_edit_area_room label {

    display: block; float: left; clear: left; min-height: 2.0em;

    width: 11.0em; text-align: right

}

.form_edit_area_room input {

    display: block; position: relative; float: right; clear: right; 

    width: 10.5em; 

    margin-top: -0.2em; margin-left: 1.0em

}

.form_edit_area_room .submit_buttons input {width: auto; clear: none; margin-top: 1.2em; margin-left: 1.0em}

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

.form_edit_area_room div {float: left; clear: left; width: 100%}





/* ------------ FORM_GENERAL ------------------------*/

/*                                                   */

/*   used in EDIT_ENTRY.PHP, REPORT.PHP              */

/*   and SEARCH.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}

form.form_general#logon       {min-width: 21.0em}



.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; width: 79%}

.form_general div.group#ampm {width: 16em}

.form_general fieldset {width: auto; border: 0; padding-top: 2.0em}



.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}

#logon                    label {max-width: 8em}



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



.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}

#logon                    input {width: 12em}

.form_general .group      input {clear: none; width: auto}



/* 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}

.form_general input.checkbox {margin-top: 0.1em}

.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}

#edit_entry_submit input, #report_submit input, #search_submit input, #logon_submit input

    {position: relative; left: 100%; width: auto}



.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: 1.0em; margin-right: 0.5em}

.form_general #div_rooms select, .form_general #div_typematch select {float: left; margin-right: 2.0em}

.form_general fieldset#rep_info {padding-top: 0}

.form_general #rep_info input {width: 13em}

.form_general input#rep_num_weeks {width: 2.0em}





/* ------------ EDIT_USERS.PHP ------------------*/


div#form_container {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: 26.0em; margin-top: 2.0em}

#form_edit_users fieldset {width: auto}  

#form_edit_users div {float: left; width: 100%}

#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 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_error {width: 10em; margin-top: 2.0em}

table#edit_users_list {margin-top: 1.0em; margin-bottom: 1.0em}



/* ------------ 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: #fff; border-style: solid;

    border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0}

#banner td {text-align: center; vertical-align: middle; background-color: #1b3887;

    border-color: #fff; border-style: solid;

    border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 1px;

    padding: 6px}

#banner td:first-child {border-left-width: 0}

#banner td#company {font-size: large}

#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 #company span {display: block; color: #ffffff; width: 100%}

table#colour_key {clear: both; border-spacing: 0; border-collapse: collapse}

#colour_key td {width: 7.0em; padding: 2px; font-weight: bold;

    border: 1px solid #ffffff}

#colour_key td#row_padding {border-right: 0; border-bottom: 0}

#header_search input {width: 6.0em}



/* ------------ 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 a.current {font-weight: bold; color: #f3971a}

td#sticky_day {border: 1px dotted #f3971a}





/* ------------ REPORT.PHP ----------------------*/

.div_report h2, #div_summary h1 {border-top: 2px solid #1b3887;

    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: 8em}

.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 td {text-align: right}

#div_summary td.count {border-right-width: 0}

#div_summary td:first-child {font-weight: bold}

p.report_entries {font-weight: bold}



/* ------------ SEARCH.PHP ----------------------*/

span#search_str {color: #f3971a}

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 ; 

             border-bottom: 1px solid ; 

             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 .current a {color: #f3971a}



div#simple_trailer {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}

