/** \file
 *
 * $Id: default.css 673 2011-09-25 22:58:05Z bates $
 *
 */

/*
  html * {
  backgound: none ;
  }
  */
body {
	margin: 0px ;
	padding: 0px ;
	background-image: none ;
	background-color: white ;
	color: black ;
	/*  font-family: lucida grande, lucida, calibri, sans-serif, sans ; */
	font-size: 12px ;
}

h1, h2, h3, h4, h5, h6 {
	/*
	  padding-bottom: 0.2em ;
	  margin-top: 0.4em ;
	  */
	text-align: center ;

	border-bottom: 1px dotted black ;
	font-family: Sans, Arial, arial, Helvetica, helvetica, sans-serif, sans ;
}

a {
	background-color: transparent ;
	font-weight: bold ;
	text-decoration: none ;
}
a:link { color: navy ; }
a:visited { color: #444444 ; }
a:hover,
a:active {
	color: navy ;
	background-color: #dfffff ;
}

div {
	/*
	  padding: 0.5em ;
	  */
	margin: 0px ;
	clear: both ;
}

.roundedtop {
	margin-top: 4px
	margin-left: 4px ;
	margin-right: 4px ;
}
.rounded {
	margin: 2px ;

	border-radius: 2em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
	-khtml-border-radius: 2em;
}

#HD, #FT {
	background-color: #4f5f8f ;

	/* Background gradient */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7f8fbf', endColorstr='#2f3f6f');
	background: -webkit-gradient(linear, left top, left bottom, from(#7f8fbf), to(#2f3f6f));
	background: -moz-linear-gradient(top, #7f8fbf, #2f3f6f);

	border-left: none ;
	border-right: none ;
	margin-bottom: .5em ;

	box-shadow: .25em .25em .25em #aaaaaa ;
	-moz-box-shadow: .25em .25em .25em #aaaaaa ;
	-webkit-box-shadow: .25em .25em .25em #aaaaaa ;
	-khtml-box-shadow: .25em .25em .25em #aaaaaa ;

	border: .1em outset #455f8f ;
}
#HD {
	padding: 0.3em ;
	text-align: center ;
}
#HD a:link {
	color: #f00 ;
}
#HD h1 {
	margin: 0px ;
	padding: 0px ;
	border: 0px ;
	text-align: left ;
	color: white ;
	background-color: transparent ;
	font-style: italic ;
	font-family: droid sans, arial, helvetica, sans-serif, sans ;
}
#HD table {
	padding: 0px ;
	clear: none ;
}
#HD tr {
	vertical-align: middle ;
}
#HD td {
	padding: 0.3em ;
}
#HD img {
/*    float: left ; */
}

#HD p.date {
    color: white ;
    float: right ;
    display: inline ;
}

a {
/*  font-family: arial, helvetica, sans-serif, sans ; */
}


#CO, #CB
{
	border-left: none ;
	border-right: none ;
	text-align: center ;
}

#CO a {
    font-weight: normal ;
}
#CO a:hover,
#CO a:active {
	background-color: transparent ;
}

#CO li, #CB li
{
	display: inline ;

    padding: 0.25em ;

	border-radius: 1em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	-khtml-border-radius: 1em;
}
#CB li
{
}

#CO li:hover,
#CO li:active {
	background-color: #dfffff ;
	color: #000088 ;

	background: -webkit-gradient(linear, left top, left bottom, from(#cfdfdf), to(#dfffff)) ;
	background: -moz-linear-gradient(top, {#cfdfdf}, {#dfffff}) ;
}

#CO .current {
	background-color: white ;

	background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#ffffff)) ;
	background: -moz-linear-gradient(top, {#dfdfdf}, {#ffffff}) ;
}
#CO .current a {
	background-color: transparent ;
}

/*
 * C1 bg:               aabbcc
 * c2 bg / c1 current:  ccddee
 * c3 bg / c2 current:  ddeeff
 */

#C1,
#C2,
#C3,
#CC {
	padding: 0.4em ;
	margin: 0.25em ;

	border-radius: 2em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;
	-khtml-border-radius: 2em;
}

#C1 {
	background-color: #aabbcc ;

	/* Background gradient */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccddee', endColorstr='#aabbcc');
	background: -webkit-gradient(linear, left top, left bottom, from(#ccddee), to(#aabbcc));
	background: -moz-linear-gradient(top, #ccddee, #aabbcc);

	border: .1em outset #bbccdd ;
}
#C1 .current,
#C1 .current a {
/*	background: -webkit-gradient(linear, left top, left bottom, from(#99aabb), to(#bbccdd)); */
}

#C2 {
	display: none ;
	background-color: #ccddee ;

	/* Background gradient */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ddeeff', endColorstr='#bbccdd');
	background: -webkit-gradient(linear, left top, left bottom, from(#ddeeff), to(#bbccdd));
	background: -moz-linear-gradient(top, #ddeeff, #bbccdd);

	border: .1em outset #ccddee ;
}

#C3 {
	display: none ;
	background-color: #ddeeff ;

	/* Background gradient */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeffff', endColorstr='#ccddee');
	background: -webkit-gradient(linear, left top, left bottom, from(#eeffff), to(#ccddee));
	background: -moz-linear-gradient(top, #eeffff, #ccddee);

	border: .1em outset #ddeeff ;
}

#CC {
	display: none ;
	background-color: #dd9999 ;
}

#CC a:link {
	color: #880000 ;
}
#CC a:visited {
	color: #440000 ;
}

#CC li:hover,
#CC li:active
{
	color: #ff0000 ;
	background-color: #ffcccc ;
}

img {
	border: 0px ;
}

/*
 * MN
 */

#MN {
	/*  background-color: transparent ; */
	background-image: url(./figures/apbc_background-levelled-256x256c8.png) ;
	/* background-attachment: fixed ; */

	/*
	  padding: 0em 1em 0em 1em ;
	  */

	margin-left: 1.0ex ;
	margin-right: 1.0ex ;
}

#MN a:hover,
#MN a:active {
	background-color: #dfffff ;
	color: #00004f ;
}
#MN td {
	border: inset 1px ;
}
#MN th {
	border: outset 1px ;
}
#MN table {
	margin: 0em 1em 1em 1em ;
	empty-cells: show ;
}

/*
 * Table centering stuff
 */

#CB
{
/*	clear: both ; */
}

#CB div.contentsbrief
{
	display: inline-block ;

	border: 2px outset silver ;
	padding: .5em ;
/*	margin: 1em ; */

	vertical-align: top ;

/*
	position: relative ;
	margin-top: -5em ;
	height: 10em ;
*/
	top: 50% ;
	width: 30% ;
/*	top: 0px ; */

/*
	box-shadow: .25em .25em .25em #aaaaaa ;
	-moz-box-shadow: .25em .25em .25em #aaaaaa ;
	-webkit-box-shadow: .25em .25em .25em #aaaaaa ;
	-khtml-box-shadow: .25em .25em .25em #aaaaaa ;
*/
}

/* red */
.cb1
{
	background-color: #ffdfdf ;

	background: -webkit-gradient(linear, left top, left bottom, from(#ff8f8f), to(#ffefef)) ;
	background: -moz-linear-gradient(top, {#ff8f8f}, {#ffefef}) ;
}

/* yellow */
.cb2
{
	background-color: #ffffdf ;

	background: -webkit-gradient(linear, left top, left bottom, from(#ffff8f), to(#ffffdf)) ;
	background: -moz-linear-gradient(top, {#ffff8f}, {#ffffdf}) ;
}

/* green/light green */
.cb3
{
	background-color: #dfffdf ;

	background: -webkit-gradient(linear, left top, left bottom, from(#8fff8f), to(#dfffdf)) ;
	background: -moz-linear-gradient(top, {#8fff8f}, {#dfffdf}) ;
}

/* blue */
.cb4
{
	background-color: #dfdfff ;

	background: -webkit-gradient(linear, left top, left bottom, from(#cfdfdf), to(#dfffff)) ;
	background: -moz-linear-gradient(top, {#cfdfdf}, {#dfffff}) ;
}

#CB h3
{
	  padding-bottom: 0.2em ;
	  margin-top: 0.4em ;
}

#MN div.centertable
{
	margin: 0px ;
	padding: 0px ;
	text-align: center ;
}

#MN div.centertable table
{
    margin-left: auto ;
    margin-right: auto ;
    text-align: left ;
}

#MN table.flat td {
	border: 0px ;
}

#MN .hidden {
	/*  color: white ; */
	display: none ;
}

#MN div.formcontainer {
    margin: 0px 0px 2ex 0px ;
    padding: 0px ;
    border: 0px ;
    text-align: center ;
}

table.flat td {
	border: 0px ;
}

#FT {
	margin-top: 1em ;
	padding: 0px 0.5em 0px 0.5em ;
}
/*
  #FT a:link {
  color: #f00 ;
  }
  */
#FT p, #FT .hidden {
	color: white ;
	text-align: right ;
	margin-top: 0.2em ;
	margin-bottom: 0.2em ;
	padding: 0px ;
	font-weight: bold ;
	font-style: italic ;
	font-size: small ;
}
#FT .FThidden {
	/*  color: #4f5f8f ; */
	display: none ;
}
#FT a:link {
	color: #00ffff ;
}
/*
  #FT a:inactive {
  color: silver ;
  }
  */
#FT a:hover, #FT a:active {
	color: red ;
}

/*

Miscellaneous

*/

a.imgholder {
	background-color: transparent ;
	display: inline ;
}

.lastmodified {
	margin: 0px ;
	padding: 0px ;
	text-align: right ;
	font-style: italic ;
	font-size: small ;
	color: white ;
}

th {
	margin: 0px ;
	padding: 0.2em ;
	text-align: left ;
	background-color:#00008f ;
	color:  #cfffff ;
	font-style: italic ;
}

td {
	color: black;
}

.alt1, .alt2 {
	margin: 0px ;
	padding: 0.25em ;
}
.alt1 {
	background-color: #eeeeff ;
}
.alt2 {
	background-color: white ;
}

.bold {
	font-weight: bold ;
}

.center {
    text-align: center ;
}

.highlight {
	background-color: #dfffff ;
	color: navy ;
	/*  font-size: larger ; */
	font-weight: bold ;
}

.warning {
	color: red ;
	font-weight: bold ;
/*  background-color: #ffffdf ; */
/*  font-size: 110% ; */
}

.tight, .tight table td, .tight table {
	margin: 0px ;
	padding: 0px ;
	border-spacing: 0px ;
/*  border: 2px solid purple ; */
}

/*
 *
 * News
 *
 */

#news,
#newsfull {
	border: none ;
	/*  margin: 0px 0.5em 0px 0.5em ; */
	margin: 0px ;
	padding: 0px ;
	padding-top: 1ex ;
	background-color: transparent ;
	color: black ;
	width: 40% ;
	float: right ;
/*
  height: 15em ;
  overflow: auto ;
  */
}

#newsfull {
	float: none ;
	margin: 0px ;
	padding: 0px ;
	padding-left: 7% ;
	padding-right: 7% ;
	width: auto ;
}

#news .newsitem,
#newsfull .newsitem {
	margin: 0px 0.25em 0.5em 0.25em ;
	padding: 0px ;
	/*   border: 1px solid silver ; */
	border: 1px outset ;
	background-color: white ;
}

#news h1,
#newsfull h1,
#news .date,
#newsfull .date {
	margin: 0px ;
	padding: 2px ;
	border: none ;
	border-top: 1px outset #ffd ;
	color: #589 ;
	text-align: left ;
	background-color: #ffd ;
	font-weight: bold ;
	font-size: 100% ;
}
#news .date,
#newsfull .date {
	/*  border-bottom: 1px solid silver ; */
	border-bottom: 1px outset #ffd ;
	font-style: italic ;
	text-align: right ;
}

#news p,
#newsfull .p {
	margin: 0px ;
	padding: 0px 2px 2px 4px ;
/*  font-size: small ; */
}
#news p + p,
#newsfull p + p {
	text-indent: 1.5em ;
}

#newsfull * {
	font-size: medium ;
}
#newsfull p {
	font-size: medium ;
}
#newsfull .newsitem {
	margin-left: 0px ;
	margin-bottom: 1.5em ;
}

/*
 * For calendar display
 */

#MN table.calendar {
	margin-left: auto ;
	margin-right: auto ;
}

#MN table.calendar td {
	border: 1px outset ;
	/* background-color: white ; */
	vertical-align: top ;
}

.event {
	background-color: #ffb ;
}

#aboutcalendar ul {
	list-style-type: disc ;
}

/*
 * For display of AP rules...
 */

ol {
	list-style-type: decimal ;
	margin-right: 1.5em ;
}
li {
	margin-top: 1em ;
	margin-bottom: 1em ;
}

ol.rules ol {
	list-style-type: lower-alpha ;
}
ol.rules li, ul.rules li
{
	font-weight: bold ;
}
ol.rules * li
{
	font-weight: normal ;
}

ol.rules p, ul.rules.p, ul.rules li p
{
	font-weight: normal ;
}

/*
* End of AP rules
*/

.button {
	background-color: silver ;
	border: 2px outset silver ;
	padding: 1px ;
}

.new {
    background: #ffffaa ;
    color: #880000 ;
}
.proposed {
    background: #dddddd ;
    color: #444444 ;
}
/*
  .new:before {
  font-weight: bold ;
  content: "[New: " ;
  }
  .new:after {
  font-weight: bold ;
  content: " ]" ;
  }
  */

/*
 * For membersdb tables
 */
#membersdb,
#membersdb table {
	padding: 0px ;
	margin: 0px ;
}
#membersdb td {
	vertical-align: top ;
}

/*
 * For rally points court
 */

.highlight{
	background: #ddffff ;
	color: #000044 ;
	font-weight: bold ;
	font-size: 100% ;
}

#court td {
	padding: 1em ;
	margin: 1em ;
/*  border: 1px solid gray ; */
}

.server {
	font-weight: bold ;
/*  font-size: 120% ; */
}
.normal { 
	font-weight: normal ;
/*  font-size: 100% ; */
}
.receiver {
	font-weight: normal ;
/*  font-size: 100% ; */
}

/*
 * Online form
 */

#subform {
	border: 1px dotted #888888 ;
	background: #dddddd ;
	text-align: center ;
}
#subform table {
	display: inline ;
}
#subform td {
	padding: 0.5ex ;
	margin: 0.5ex ;
	vertical-align: middle ;
	text-align: left ;
}
#subform td.label {
	text-align: right ;
}

