/* ------------ GENERAL -----------------------------*/

body {font-size: small;
    color:            #0B263B;
    font-family:      Verdana, Arial, sans-serif;
    background-color: #F0FFE8}

.current,
.warning {color: #ff0066}                        /* used to highlight the current item */
.error   {color: #ff0066; font-weight: bold}     /* for error messages */
img.icon {position: relative; top: 3px; border: 0	}

h1 {font-size: x-large}
h2, dl {font-size: large;
		font-weight: bold}
h3 {font-size: medium; text-decoration: none}
button	{font-family:      Verdana, Arial, sans-serif}

a[tabindex],
a:link    {color: #0B263B;    text-decoration: none; font-weight: bold; cursor: pointer}
a:visited {color: #0B263B; text-decoration: none; font-weight: bold}
a:hover   {color: #ff0066;   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: Verdana, Arial, 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 #00B000}
fieldset.admin span.hilite	{	
	margin: 0 50px;
	font-size: small;
}
/* inner fieldsets are invisible: */
fieldset fieldset {position: relative; clear: left; width: 100%; padding: 0; border: 0; margin: 0}
fieldset fieldset legend {font-size: 0}        /* for IE: even if there is no legend text, IE allocates space  */

#noscript,
noscript p {
	display: block;								/* The id is required for IE and Chrome to use the styles correctly */				
	margin: 0 0 5px;
	border: 3px solid red;
	padding: 10px;
	font-weight: bold;
	text-align: center;
	background: #FFFFD0;
	color: red;
}

table.admin_table {border-spacing: 0px; border-collapse: collapse; border-color: #00B000; 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: #00B000; 
    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: #00B000; border-left-color: #F0FFE8;
    vertical-align: middle; text-align: left}
.admin_table th:first-child {border-left-color: #00B000}
.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: #00B000; border-left-color: #00B000;
    vertical-align: middle}
    
.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 */

span.info {
	position: relative;
}
span.help img,
img.help,
span.info img		{
	margin: 0 0 0 10px;
	vertical-align: middle;
	cursor: help;
}
aside	{
	position: absolute; left: -60px; top: 25px;
	z-index: 1;
	box-sizing: border-box;
	width: 400px;
	border: 1px solid black;
	background: white;
	color: blue;
	padding: 5px;
	height: auto;
	display: none;
}
span.info:hover aside,
span.info:active aside,
span.info:focus aside		{	display: block;	}

@media (max-width: 600px){
	span.info {
		position: static;
	}
	aside	{
		left: 0; top: auto;
		width: 100%;
	}
}

#login_msg	{	text-align: right; margin: 5px 0; color: red; font-style: italic; font-size: 85%	}

#login_notes { 
	margin: 10px 5px;
	border-top: 1px solid black; 
	border-bottom: 1px solid black;
	padding: 10px 0 0;
}
#login_notes p,
#login_notes li	{ 
	text-align: justify;
	margin: 0 0 10px;
}

#help	 {float: right; margin-top: 2px	}

.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: Verdana, Arial, sans-serif; font-size: small;
}
.form_admin input.submit {
    width: auto; margin-top: 1.2em; margin-left: 8.0em
}
#admin 			{ 	width: 55em;
					margin: auto;	}
#admin table	{	caption-side: bottom; }					
#admin caption	{	text-align: left; 
					padding: 10px	}
#admin th {text-align: center}
#admin td {padding: 0.5em; vertical-align: top; text-align: left}
#admin h2			{	margin: 0.4em; 
						width: 100%; }
#admin h2 a			{	margin: 0 3em;	}
#admin div			{	margin: 0;	}
#admin fieldset		{	clear: left; 
						width: auto;
						margin: 0; 
						padding: 0	}
#admin label		{	margin: 0.5em 0;	}
#admin input		{	float: none;
						display: inline; 
						margin: 0.3em 1em 0	}
#admin input[type="submit"]		{	margin: 0 0 0 1em	}
#admin input+p					{	margin: 0 0 0 8em	}


#admin #courts p				{	display: inline-block; 
									margin: 0	}
#admin #courts input			{	width: auto; 
									margin: 0 0 0 5px	}

#admin select					{	margin: 0.3em 1em; }

#admin #court_description		{	width: 30em; 	}
#admin #admin_select_club				{	margin: 0; 
									padding: 0;}
#admin #device label		{	width: auto; 
								margin: 0.1em 1em 0 0.5em}
#admin #device input					{	width: auto; 
											margin: 0 0 0 1em	}
#admin #device input[type="checkbox"]	{	margin: 0.3em 20px 0 0	}
#admin #device p			{	clear: left; margin-left: 0.5em	}

#statistics table,
#admin #courts				{	border-collapse: collapse;	}
#statistics table caption	{	caption-side: top;
								padding: 0 0.25em;	}
#statistics table caption i	{	font-size: 10pt;
								font-weight: normal;
								padding: 0 0.4em;	}
#admin #courts td,
#statistics table td		{	border:	0;
								padding: 0 0.8em	}
#admin #edit_club #selectXform,
#admin #edit_club #clubChangeForm {
	display: inline;
}
#admin #edit_club h2 span {
	margin-left: 0;
	font-weight: normal;
}
#admin #edit_club form+a {
	margin: 0;
}
/* ------------ DAY/WEEK/MONTH.PHP ------------------*/

div#dwm_header {width: 100%; float: left; margin-top: 1.0em; margin-bottom: 0.5em}
div#dwm_clubs  {float: left; margin-right: 2.0em}
div#dwm_courts  {float: left; margin-right: 2.0em}
#dwm_header h3 {font-size: small; font-weight: bold; text-decoration: none; 
   				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}

#dwm	{	margin: 10px 0;
			padding: 0;
/*			border: 1px solid red;	*/
			font-size: large;
			font-weight: bold;
		 	position: relative;
		 	text-align: center;
		 	clear: both;	}

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}

#dwm br+dd,	
#dwm br+dd+dd	{
	position: relative;
	margin: 5px auto 0;
}
#dwm select	{
	font-size: large;
	font-weight: bold;
	border: 1px solid grey;
	border-radius: 7px;
}
#dwm h2	{
	padding: 0 5px;
	margin: 0;
}


table.dwm_main {
	clear: both; width: 100%; border-spacing: 0; border-collapse: separate;
    border-color: #F0FFE8;
    border-width: 0px;
    border-style: solid;}
.dwm_main td {
	padding: 0;
    border-top:  1px solid #ffffff;
    border-left: 1px solid #F0FFE8;
    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: #00B000;
    border-left: 1px solid #F0FFE8}
.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[tabindex],
.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 #F0FFE8}
.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; 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: 6em} 		 /* NOTE:  if you change the value of (min-)height, make sure you */
                                                                         /* also change the value of height in cbs-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: 1.5em; height: 1.5em; max-height: 1.5em; 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,
div.A {background-color: #80E0FF}
.month div.A {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #80E0FF}
span.A {background-color: #80E0FF}td.B,
div.B {background-color: #80FF00}
.month div.B {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #80FF00}
span.B {background-color: #80FF00}td.C,
div.C {background-color: #FFFF00}
.month div.C {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #FFFF00}
span.C {background-color: #FFFF00}td.D,
div.D {background-color: #FFA0A0}
.month div.D {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #FFA0A0}
span.D {background-color: #FFA0A0}td.E,
div.E {background-color: #D0D0D0}
.month div.E {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #D0D0D0}
span.E {background-color: #D0D0D0}td.F,
div.F {background-color: #C0C0FF}
.month div.F {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #C0C0FF}
span.F {background-color: #C0C0FF}td.G,
div.G {background-color: #40FFC0}
.month div.G {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #40FFC0}
span.G {background-color: #40FFC0}td.H,
div.H {background-color: #FFB030}
.month div.H {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #FFB030}
span.H {background-color: #FFB030}td.I,
div.I {background-color: #C0C000}
.month div.I {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #C0C000}
span.I {background-color: #C0C000}td.J,
div.J {background-color: #FFB0FF}
.month div.J {float: left; max-height: 1.3em; height: 1.3em; min-height: 1.3em; overflow: hidden; background-color: #FFB0FF}
span.J {background-color: #FFB0FF}
.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: #00B000; white-space: nowrap}    /* used for the row labels column */
.row_labels a[tabindex],
.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.all_courts:hover td.row_labels {background-color: #00B000;	}
.dwm_main tr.all_courts:hover td.row_labels a {	color: #ffffff;	}
.dwm_main tr:hover td.row_labels,
.dwm_main tr.all_courts td.row_labels:hover {	background-color: #ffc0da; 	}
.dwm_main tr.all_courts td.row_labels:hover a {	color: #0B263B	}
.dwm_main#month_main td:hover.valid {background-color: #ffc0da}


td.highlight {
	background-color: #ffc0da; color: #0B263B}
.highlight a[tabindex],
.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[tabindex],
.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[tabindex],
.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 #F0FFE8;
    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}

/* private bookings */
.private {opacity: 0.6; font-style: italic}

/* provisional bookings */
.provisional {opacity: 0.6}
.provisional a {font-weight: normal}
.provisional a:before {content: "? "}

#week_main th div.all_courts a, 
#month_main th div.all_courts a {
	display: inline-block;
	padding: 0;
	margin: 5px 0 1px;
	font-size: 8pt;
}
#week_main td.all_courts {
	position: relative;
	background: white; 
	padding: 0; 
	margin: 0;
	border-left: 1px solid #00B000; 
}
#week_main td.all_courts.tomorrow {
	border-left: 1px transparent; 
}
#week_main td.all_courts div			{	position: absolute }
#week_main td.all_courts div.even_row,
#week_main td.all_courts div.odd_row	{	width: 100%; }
#week_main td.all_courts div.odd_row	{	background: #f2f4f6;	}
#week_main td.all_courts div.even_row:hover,
#week_main td.all_courts div.odd_row:hover,
#week_main td.all_courts div.highlight	{	background: #ffc0da;	}
#week_main td.all_courts div.vgrid,
#month_main div.all_courts div.vgrid	{	
	position: absolute;
	top: 0; 
	width: 0; 
	height: 100%; 
	border-left: 1px dashed #C0C0C0;
}
#week_main td.all_courts div.booking {
	border: 0.5px transparent; 
	box-sizing: border-box;
}

#month_main div.all_courts 		{	
	position: relative; 
	height: 80%;
	border: 1px solid #00B000;
}
#month_main div.all_courts div 	{	position: absolute;	}
#month_main div.all_courts a 	{	display: inline;	}
#month_main td.today div.all_courts {
	border-width: 1px 0 0 0;
}
/* ------------ DEL.PHP -----------------------------*/
div#del_court_confirm {padding-bottom: 3em}
#del_court_confirm p {text-align: center; font-size: large; font-weight: bold}
div#del_court_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_court_confirm_links a:hover {cursor: pointer}                  /* for IE */
#del_court_confirm_links span:hover {text-decoration: underline}    /* for Firefox */


/* ------------ FORM_GENERAL ------------------------*/
/*                                                   */
/*   used in EDIT_ENTRY.PHP, REPORT.PHP,             */
/*   SEARCH.PHP and EDIT_CLUB_COURT.PHP               */



form.form_general {
	margin-top: 2.0em; 
/*	width: 100%;*/
}
.edit_entry     form.form_general {min-width: 39.0em}
.report         form.form_general {min-width: 25.0em}
.search         form.form_general {min-width: 21.0em}
.form_general {min-width: 31.0em}

.form_general div {float: left; clear: left; width: auto;}
.form_general div div {clear: none; width: auto}
.form_general div.group {float: left; width: 52em}
.form_general div.group label {width: auto; max-width: none; 
							   white-space: nowrap; text-align: left; font-weight: normal }
.form_general div.group .ampm {width: 16em}
.form_general div.group {clear: none}
/*
.form_general div.group label {width: auto; }
*/
.form_general div.group      input {clear: none; width: auto}
.form_general div.group #private_override div {clear: left}
.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: 18em; 
    text-align: right; padding-bottom: 0.8em; font-weight: bold;	}

.edit_entry     .form_general label {max-width: 12em}
.edit_entry     .form_general label+p {float: left; font-weight: bold; margin: 0 15px	}
.report         .form_general label {max-width: 12em}
.search         .form_general label {max-width: 8em}
#club_config label {width: 18em}
#club_config label {max-width: 18em}
/*
.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: Verdana, Arial, 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_config .form_general input {width: 12em}

#clubaccessdenied {
	max-width: 760px;
	margin: 20px auto;
	padding: 0 20px;
	background: white;
	border: 2px solid red;	
}
#clubaccessdenied h2 {
	color: red;
}
#clubaccessdenied p {
	text-align: justify;
}
#login {
	min-width: 34.0em;
	width: 800px;
	margin: auto;
}
#login form.form_general {
	margin-bottom: 0;
	padding: 0;
}
#login		label {width: 13em; margin-top: 3px;}
#login		label {max-width: 13em}
#login		input {width: 20em}
#login form	p {float: left; margin: 3px 20px; color: red; font-style: italic}
#login		#autologin		  	{	width: auto; margin: 5px 15px 0 15px; }
#login		#login_submit,
#login #forgotten {
	position: relative;
	float: none;
	margin: 10px 0;
	padding-left: 14em;
	padding-bottom: 10px;
}
#login	button,
#login	#login_submit input {
	margin: 10px 100px 0 0; 
	width: auto;
	display: inline;
	white-space: nowrap;
}
#login #forgotten button {
	margin: 0;
}

#login #capslock  	{ 
	margin: auto;
	border: 2px solid red;
	background: white;
	position: absolute; left: 500px; top: -6px;
	display: none;
}
#login #capslock p	{ 
	margin: 10px;
	color: red;
	font-weight: bold;
	text-align: center;
}

p.banner {
	width: 600px;
	margin: 10px auto 0;
	border: 3px solid red;
	background-color: #FFFFD0;
	padding: 10px;
	font-weight: bold;
	color: red;
	text-align: center;
}
/* 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: Verdana, Arial, sans-serif; font-size: small
}
.form_general select {float: left; margin: 0 0 0.5em 1.0em }
.form_general select+select {margin-left: 0.2em }
.form_general input.radio {margin-top: 0.1em}
.form_general input.checkbox {margin-top: 0.2em}
.edit_config .form_general input.checkbox {width: auto; margin-left: 1.0em}
.edit_config .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}
.form_general button.reset { display: inline; float: none; width: auto; margin: 0 2em	}
.form_general #participants input	{width: auto}

#login form.simple p {
	margin: 5px;
}
#login form.simple p.hilite {
	float: none;
}
#login form.simple label {
	clear: left;
	display: block;
	width: 100%;
	max-width: 100%;
	font-weight: bold;
	padding: 10px 0 5px 5px;
}
#login form.simple input,
#login form.simple select {
	float: left;
	margin-left: 5px;
}
#login form.simple div {
	clear: left;
	margin-left: 5px;
}

div#report_submit     {	
	padding-left: 12em; 
}
#report_submit button  {	
	width: auto;
	white-space: nowrap;
	margin: 0 0 0 10px;	
}
#search_submit button  {	
	width: auto;
	white-space: nowrap;
	margin: 10px; /*9em	*/
}
/*
div#login_submit      {	width: 18em; 
						max-width: 13em	}
*/

.form_general .div_dur_mins input {width: 2.0em}
.form_general .div_time input {width: 1.3em}
.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.3em; text-align: center}
.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; width: auto}
.form_general input#all_day {width: auto; margin-left: 1.0em; margin-right: 0.5em}
.form_general input#private {width: auto; margin-left: 3.0em; margin-right: 0.5em}
.form_general #div_courts 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; text-align: center}

.form_general p.error,
.form_general p.warning,
.form_general p.error+p 	{float: left; margin: 1px 1em;}

.edit_config h2					{	margin: 0	}

#edit_club fieldset				{	padding: 5px; 	}

#edit_config_submit				{	margin-left: 100px	}
#edit_config_submit button,
#edit_config_submit input		{	clear: none; float: left; width: auto; margin: 0 10px; }

.edit_club span.error {display: block; width: 100%; margin-bottom: 0.5em}

/* ------------ VIEW_ENTRY.PHP ------------------*/
.view_entry #entry			{max-width: 800px; margin: 10px auto}
.view_entry #entry table	{float: left; max-width: 400px}
.view_entry #entry>table caption	{
	font-size: large; 
	font-weight: bold;
	text-align: center; 
	margin: 10px 0
}
.view_entry #entry td+td	{max-width: 300px;}
.view_entry #entry td h3	{margin: 0; text-align: left}
.view_entry #entry td:first-child {text-align: right; font-weight: bold; padding-right: 1.0em}
.view_entry #entry p		{clear: left; padding: 10px 5px 0}
.view_entry #entry td span.type {
	padding: 2px 10px;
}
.view_entry #view_entry_nav 	{clear: left; margin: 0; font-weight: bold; color: #C0C0C0; padding: 0 0 10px;}
.view_entry #view_entry_nav a 	{padding: 0; line-height: 25px}
.view_entry #view_entry_nav em  {margin-left: 57px; font-weight: normal; color: black	}
.view_entry #confirm_buttons form {float: left; margin-right: 2em}
.view_entry #confirm_buttons legend {font-size: 0}

.view_entry #entry div#view_entry_nav 	{padding: 10px 0}
.view_entry #entry div#view_entry_nav form 			{ margin: 0 0 5px	}
.view_entry #entry div#view_entry_nav form button  	{
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-weight: bold
}
.view_entry div.back button		  {	margin: 5px 0	}

#confirm_buttons td {vertical-align: middle; padding-top: 1em}
#confirm_buttons td#caption {text-align: left}
#confirm_buttons td#note {padding-top: 0}
#confirm_buttons td#note form {width: 100%}
#confirm_buttons td#note textarea {width: 100%; height: 6em}

/* --------- participant lists -------- */
#part_list {	
	float: right;
	margin: 10px 0 10px 50px; 
}
.view_entry #part_list table {
	float: none;
	width: 350px;
	margin: 5px 0 0;
	border: 1px solid black; 
	background: white;
	padding-right: 20px;
	border-collapse: collapse;
	font-weight: normal;
	text-align: left;
}
.view_entry #part_list div table {
	float: left;
	width: 180px;
	border: 0;
	margin: 0;
}
#part_list tbody {
	display: block;
	padding: 5px;
	max-height: 300px;
	overflow-y: auto;
}
/*
#part_list div div table {
	border: none;
}
*/
#part_list>table tr:last-child {
	height: 50px;
}
#entry #part_list td {
	font-weight: normal;
	text-align: left;
	padding: 0 5px;
}
#part_list td+td {
	width: 90%;
}

#part_list caption {
	text-align: right;
	vertical-align: middle;
}
#part_list caption p.hilite {
	float: right;
	clear: none;
}

#part_list caption h3	{float: left; margin: 0; }
#part_list h4			{margin: 5px 0; }
#part_list caption h4	{float: left; clear: left}
#part_list form			{margin-bottom: 5px; font-weight: normal}
#part_list h4+div {
	float: left;
	clear: left;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid black;
	margin: 0;
	padding-right: 5px;
	overflow: hidden;
}
#part_list button 	{	
	float: right;
	clear: right;
	margin: 5px 0;
}
#part_list select 	{
	float: left;
	max-height:	200px;
}
.view_entry #part_list p	{padding: 0; margin: 0 0 5px; text-align: left;}
.view_entry #part_list p label:first-child	{margin-left: 22px;}
.view_entry #part_list caption.admin p {
	padding-top: 15px;
}
.view_entry #part_list caption.admin p label {
	margin-left: 0;
	}
#part_list input#guest {
	width: 300px;
}

@media (max-width: 350px){
	#part_list {
		margin: 10px 0 ;
		width: 100%; 
	}
	#part_list table {
		max-width: 100%; 
	}
}
/* ------------ EDIT_CLUB / EDIT_COURT.PHP ------------------*/
.form_general fieldset fieldset {padding-top: 0.5em; padding-bottom: 0.5em}
.form_general fieldset fieldset legend {font-size: small; font-style: italic; font-weight: normal}

#club_config	{margin: 0}
#club_config fieldset	{width: 70em;}
#club_config input[type='text'],
#club_config select	{ position: relative; top: -0.2em}
#club_config em		{	font-style: italic; margin-left: 15px	}
#club_config label.info,
#club_config div.info { line-height: 24px }
#club_config label.info { clear: both }
#club_config div.info input  { margin-top: 5px	}
#club_config div.group label { width: auto; height: auto; max-width: none; padding:0 0 5px  }
#club_config div.group em 	 { margin: 0 15px 0 50px	}
#club_config div.sel_court label { padding: 0;	}
#club_config div.edit_club_btn label { margin: 2px 0; padding: 0;	}
#club_config div.edit_club_btn em { display: inline-block; padding-top: 7px	}
#booking_policies input+input	{ width: 2em;}
/*
#booking_policies input+input,
#booking_policies input+select	{ position: relative; top: -0.25em}
*/
#private_display_caution {display: block; margin-top: 1em; font-style: italic; font-weight: normal}
#db_prompt div		{float: left; padding: 0 15px;}
#db_prompt div em	{margin-left: 0;}

#widget_config {
	width: 800px;
	margin: auto;
}
#widget_config div {
	float: none;
}
#widget_config input	{	
	width: 30px;
	margin-right: 20px;
}
#widget_config iframe {
	clear: both;
	display: block;
	margin: 50px auto;
}
#widget_config textarea {
	display: block;
	width: 600px;
	height: 80px;
	margin: 20px auto;
	resize: none;
}	
#widget_config iframe+p {
	margin: 0;
	text-align: center;
}
#edit_court {
	width: 700px;
	margin: auto;
}
#edit_court>p {
	margin: 5px 15px;
}
#edit_court fieldset {
	border: 1px solid #00B000;
}
#edit_court h3 {
	margin: 20px 0 0;
}
#edit_court h4 {
	margin: 0 10px;
	font-weight: normal;
	font-style: italic;
}
#edit_court ul,
#edit_court li {
	margin: 5px 0;
	text-align: justify;
}
#edit_court #court_name,
#edit_court #sort_key	{width: 15em}
#edit_court #description,
#edit_court #court_admin_email,
#club_config #club_admin_email	{width: 30em}
#edit_court input#court_abbr,
#edit_court input#capacity	{	padding: 2px; width: 2em	} 

/* ------------ EDIT_USERS.PHP ------------------*/

span.hilite,
p.hilite,
p.update	{ 	
	font-weight: bold;
	color: red;
}

#form_edit_users {	width: 800px;
					margin: auto	}	
#form_edit_users fieldset {width: auto}
#form_edit_users legend+p {float: right; margin: 0 10px}
#form_edit_users div 	  {clear: both; width: 100%}
#form_edit_users div p	  {padding-top: 3px; display: inline;}

#form_edit_users label {
    display: block; float: left;
    margin-top: 2px;
    min-height: 2.0em; 
    width: 10.0em;  
    text-align: right;
}
#form_edit_users input {
    display: block; float: left;
    width: 20.0em;
    margin-left: 1.0em;
    padding-left: 5px; 
}
#form_edit_users select {
    margin: 0 0 0 1.0em;
}

#form_edit_users input.submit 	 {float: right; width: auto; margin: 10px}	
#form_edit_users input.leftbtn   {float: left;  width: auto; margin: 10px}	
#form_edit_users div.tgt_hcap input	{ width: 30px }
#form_edit_users #password0,
#form_edit_users #password1			{ width: 12em }

#form_edit_users #capslock  	{ position: absolute; width: 15em; margin: auto;
								  left: 40%; border: 2px solid red; background: white;
								  display: none }
#form_edit_users #capslock p	{ margin: 10px; color: red; font-weight: bold; text-align: center	}
#form_edit_users button.rightbtn {
	float: right;
}
#form_edit_users button#del_user {
	margin-left: 100px;
}

#form_edit_users h4	{
	float: left;
	margin: 2px 15px;
	font-weight: bold;
	font-size: 100%;
}
#form_edit_users p.edit_user_help	{ 
	float: left; 
	margin: 2px 20px; 
	font-style: italic;
}
#form_edit_users dfn,
#edit_users_list dfn {
	font-style: normal;
}
#form_edit_users dfn em {
	font-weight: bold;
	color: red;
}
#form_edit_users hr {
	color: #00B000;
	border-width: 1px 0 0 0;
}
	
#edit_users_list table.admin_table {
	margin: auto;
}
#edit_users_list label {
	white-space: nowrap;
}
#edit_users_list input+label+input {
	margin-right: 50px;
}
#edit_users_list th.names, 
#edit_users_list td.names {
	display: none;
}

#edit_users_info {
	clear: both;
	padding: 10px 0 0 20px;
	margin: 10px 0;
}
#edit_users_info>ul:first-child li {
	list-style-type: none;
	position: relative;
}
#edit_users_info li dfn {
	display: inline-block;
	width: 20px;
	position: absolute; left: -20px;
}
#edit_users_info h3+ul li {
	padding: 5px 0;
}
#edit_users_info ul ul {
	margin: 5px 0;
	padding-left: 20px;
}
/* ------------ EDIT_ENTRY.PHP ------------------*/	
.edit_entry #div_type label	{	margin-top: 0.7em;	}
.edit_entry #type {
	margin: 0 0 0.5em 1em;
	float: left;
}
.edit_entry #type li 		{	padding: 2px;	}
/*.edit_entry #type ol:last-child li	{	padding: 2px	}*/
.edit_entry #type li span	{	
	display: inline-block;
	width: 135px; 
	padding: 2px 10px;
}
.edit_entry_submit 	{	
	width: auto; 
	padding-left: 12em;
	padding-bottom: 10px;
}
.edit_entry_submit input,
.edit_entry_submit button	{	margin: 0 10px 0; float: left; clear: none; width: auto	}
#participants #plmax	{
	width: 2em;
	text-align: center;
	padding: 2px;
	position: relative; 
	top: -2px;
	margin-right: 10px;
}

#div_description,
#div_date,
.form_general div.div_time,
#div_duration {
	clear: left;
}
#div_duration div.group {
	width: auto;
}
#conflicts {
	margin-left: 10px;
	border: 2px solid red;
	padding: 2px 0 10px;
	float: left;
	clear: none;
	background: white;	/*#FFF4F4;*/
}
#conflicts,
#conflicts div {
	margin: 10px auto 0;
	padding: 5px;
}
#conflicts p { 
	float: none;
}
#conflicts input {
	width: 3em;
	margin: 10px 5px 0;
	display: inline-block;
	float: none;
}
#conflicts em {
	font-weight: normal;
	font-style: normal;
	color: blue;
}
#conflicts em.disabled {
	color: #808080;
}
#conflicts p#recheck {
	display: none;
	clear: both;
	width: 460px;
	padding: 5px;
	margin: 10px 5px 0;
	background: white;
	font-style: italic;
	color: red;
}
form.edit_users_error {width: 10em; margin-top: 2.0em}

#club_change	{ padding: 10px	0}
#edit_users_list {
	display: table; 
	margin: 10px auto;
}
#edit_users_list caption	{ text-align: left}
#edit_users_list caption button	{
	float: right;
	clear: right;
	margin: 5px;
}
#edit_users_list caption p	{ 
	margin: 3px 0;
}
#edit_users_list caption p span	{ 
	white-space: nowrap;
}
#edit_users_list caption h2	{ margin: 10px 0}
#edit_users_list td	{ 
	text-align: left; 
	padding: 2px 5px;
}
#edit_users_list thead th+th+th+th,
#edit_users_list tbody th	{ text-align: center }
#edit_users_list tbody th	{ 
	background-color: transparent;
	border-left-color: #00B000;
	color: inherit; 
	font-weight: normal;
}
	
/* ------------ FUNCTIONS_INC.PHP -------------------*/
#login_box		{line-height: 18px}
#login_box a	{white-space: nowrap}

table#banner {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
    border-color: #F0FFE8;
    border-width: 0px;
    line-height: 100%;
    border-style: solid;
}
#banner td {
	text-align: center;
	vertical-align: middle;
	background-color: #00B000;
    border-color: #F0FFE8;
    border-style: solid;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 1px;
    padding: 5px;
    margin: 0;
    color: #ffffff;
}
#banner td:first-child {border-left-width: 0}
#banner td#club,
#banner td#logo {font-size: 18px; }
#banner td#logo	{text-align: left}
#banner td#logo a,
#banner td#logo a img {vertical-align: middle	}
#banner td#logo a+a   {padding: 0 10px 0	}
#banner #club div {width: 100%}
#banner #club img {border: 0; }
#banner #logo td,a  {
	padding: 0 2px;
	margin: 0;
	border: 0;
}
#banner #more_info a {
	font-size: small;
	margin: 0;
	padding: 0;
}
#banner #cbs {padding: 5px 0	}
#banner form	{
	display: inline-block;
	vertical-align: middle;
}
#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 h2+h2 {
	font-size: 100%;
	padding: 0 0 2px;
}
/*
table#colour_key {
	clear: left; 
	border-spacing: 0; 
	border-collapse: collapse;
}
#colour_key td {
	width: 12.0em;
	padding: 2px; 
	font-weight: bold; 
	text-align: center;
    color: #0B263B;
	border: 0.5px solid #ffffff;
}
#colour_key td#row_padding {border-right: 0; border-bottom: 0}
@media (max-width: 482px){
	table#colour_key,
	#colour_key td	{
		display: inline-block;
		float: left;
	}
	#colour_key tr	{	display: inline;	}
	div#colour_key {	width: 25em;	}
}
*/
div#colour_key {
	clear: left; 
	max-width: 500px;
	display: flex;
	flex-wrap: wrap;
}
#colour_key div {
	width: 155px;
	padding: 2px; 
	font-weight: bold; 
	text-align: center;
    color: #0B263B;
	border: solid #ffffff;
	border-width: 1px 1px 0 0;
}
@media (max-width: 510px){
	div#colour_key {	float: left;	}
}

#header_search input {
	width: 12.0em; 
	vertical-align: middle;
}
#header_search br+input,
#header_search input+input {width: auto}
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 #F0FFE8;
	background-color: #00B000;
}
#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: #00B000;
	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_club       {width: 10%}
#pending_list th.header_court       {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 #00B000;
    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;
	color: red;
}

/* ------------ 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.2em; 
	max-width: 400px;
}

/* ------------ SITE_FAQ ------------------------*/
.help q {font-style: italic}
.help dfn {
	font-style: normal;
	font-weight: bold;
}
#site_faq	{
	max-width: 800px;
	padding: 10px;
	margin: auto;
}
#site_faq p		{	text-align: justify	}					
#site_faq_contents h4,
#site_faq_body h4	{
	float: none;
	text-align: left;
}
#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; 
	font-weight: bold;
	padding-top: 0.5em; 
	margin-top: 0;
} 
#site_faq_body div {padding-bottom: 0.5em}
#site_faq_body :target {background-color: #ffe6f0}

/* ------------ USER_HELP ------------------------*/
#user_help 	{
	max-width: 800px;
	margin: 50px auto;
}
#user_help h1	{ text-align: center	}
#user_help li	{ margin: 10px	}

/* ------------ CLUB_HELP ------------------------*/
#club_help 	{ margin: 20px 10px;	}
#club_help .header img	{
	position: absolute;
	top: 10px;
}
#club_help h1	{ text-align: center	}
#club_help h3	{ 
	font-size: inherit;
	font-weight: bold;
	margin: 20px 0 0;
}
#club_help a	{ 	padding: 0	}
#club_help p,
#club_help li	{ 	text-align: justify;	}
#club_help li	{ 	padding: 0 0 5px 5px;	}
#club_help ol	{	padding: 0 0 0 20px;	}
#club_help p,
#club_help ol	{	margin: 10px 0 0;	}
#club_help ul	{ 	padding: 0 0 0 15px;	}
#club_help li li	{ 	list-style-type: disc;	}
#club_help li+li	{ 	padding: 0;	}


/* ------------ trailer_inc.php ---------------------*/
table#trailer {
	border-top: 1px solid #0B263B; 
	border-bottom: 1px solid #0B263B; 
	width: 100%; 
	margin-top: 10px; 
	margin-bottom: 5px;
	font-family: "Arial";
}
#trailer td	  {
	padding: 0;
	vertical-align: top;
}
#trailer td.trailer_label {width: 120px;}
.trailer_label span {
	margin-right: 1.0em;
	white-space: nowrap;
}
#trailer span.current {font-weight: bold}
#trailer span.hidden {
	font-weight: normal; 
    background-color: #F0FFE8;  /* 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 {
	width: 100%;
	text-align: center;
	padding-top: 1.0em;
	padding-bottom: 2.0em;
}
#simple_trailer a {padding: 0 1.0em 0 1.0em}

table.cbs_footer	{
	width: 100%;
	margin: 10px 0;
	border: 0;
	background: url('../images/balls.png') repeat-x;
}
table.cbs_footer td	{
	text-align: left;
	font-size: smaller;
	font-style: italic;
	padding-top: 20px;
}
table.cbs_footer td+td	{text-align: right}

/* ------------- countries --------------------------*/
#cbs_country	{
	display: inline-block;
	vertical-align: middle;
}
#cbs_country dfn	{
	font-style: italic;
	margin-left: 10px;
}
/* ------------- miscellaneous ----------------------*/
#policies	{
	max-width: 640px;
	margin: auto;
}
#policies h1	{
	text-align: center;
	margin: 10px;
}
#policies h2	{
	text-align: left; 
	margin: 10px 0;
}
#policies ul	{	padding-left: 30px	}
#policies p,
#policies li	{	text-align: justify	}

body.error {
	color: initial;
	font-weight: initial;
}
div#error 	{ 
	max-width: 640px;
	margin: 30px auto;
	text-align: center;
}

#GUI	{	
	float: right;
	text-align: center;
	margin: 0 0 10px 0;
}
#GUI button	{
	padding: 10px 20px;
	font-weight: bold;
	border-radius: 8px;
	margin-bottom: 5px;
	border: 2px solid;
}
#GUI button	{
	color: blue;
	background: #E8F4FF;
	border-color: blue;
}
#GUI button:hover	{	
	cursor: 	pointer;
	position: 	relative; top: -1px; left: -1px;
	filter: 	contrast(200%) drop-shadow(1px 1px 1px grey);	
}
#GUI a	{
	font-weight: normal;
	font-style: italic;
	color: blue;
}
#GUI a:hover	{
	color: red;
}

/* ------------ for debugging only ------------------*/
pre.debug,
p.debug	{
	clear: both;
	float: none;
	margin: 0;
	font-family: courier;
	color: blue;
}
