
/*  event calendar table styles  */
.event-calendar table {
	vertical-align: middle;
	border: 1px solid #040;
	border-collapse: collapse;
	width: 100%;
	margin: 16px 0;
	padding: 0;
}
.event-calendar table.smallview {
	margin: 4px 0;
}
.event-calendar tr {
	padding: 0;
	margin: 0;
	background-color: #fff;
}
.event-calendar th {
	color: #000;
	background-color: #e1e1cd;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	padding: 2px 4px;
	border: 1px solid #040;
	vertical-align: bottom;
}
.event-calendar td {
	font-size: 0.9em;
	border: 1px solid #e6e3d9;
	background-color: #fff;
	vertical-align: top;
	margin: 0;
	padding: 2px;
	width: 14.28%;
}
.event-calendar td:hover {
	background-color: #ff9;
}

.event-calendar th.month {
	border-width: 1px 0px;
}
.event-calendar th.prev {
	text-align: left;
	border-width: 1px 0px 1px 1px;
}
.event-calendar th.next {
	text-align: right;
	border-width: 1px 1px 1px 0px;
}
.event-calendar th a {
	font-weight: bold;
  	text-decoration: none;
	color: #000;
}
.event-calendar th a:hover {
  	text-decoration: none;
}

.event-calendar td.today {
	background-color: #ff9;
}

/*  days of the week header cells */
.event-calendar td.days {
	background-color: #4A7521;
	text-align: center;
	color: #fff;
	font-weight: bold;
	border: 1px solid #040;
}


/*  floating day number div  */
.event-calendar a.day {
	float: right;
	text-align: center;
	border: 1px solid #e6e3d9;
	border-width: 0 0 1px 1px;
	padding: 0 2px;
	margin: 0;
	background-color: #f7f7f0;
	font-size: .9em;
	color: #040;
	font-weight: bold;
	text-decoration: none;
}
.event-calendar a.day:hover {
	background-color: #040;
	color: #fff;
	border-color: #000;
	text-decoration: underline;
}
.event-calendar .moreevents {
	text-decoration: none;
	text-align: right;
	font-size: 0.8em;
}
.event-calendar a.smallday {
	text-align: right;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
	color: #040;
	font-weight: bold;
	text-decoration: none;
	width: 100%;
	display: block;
}
.event-calendar a.smallday:hover {
	text-decoration: underline;
}

.event-calendar .small {
	font-size: 0.8em;
}	



/*  individual node container  --------------------------------------------------*/
.event-calendar div.event {
	border: solid 1px #555;
	text-align: left;
	margin: 0 0 4px;
	padding: 2px;
	font-size: .85em;
}
.event-calendar .tournament {
	background-color: #eff;
}
.event-calendar .misc {
	background-color: #fc6;
}

.ev-tourint {
	background-color: #044083;
}
.ev-tournat {
	background-color: #1A61B1;
}
.ev-tourloc {
	background-color: #1A7BE8;
}
.ev-fest {
	background-color: #EC9D00;
}
.ev-meetup {
	background-color: #9D7D00;
}
.ev-simul {
	background-color: #B21F1F;
}
.ev-other {
	background-color: #027F17;
}

.key {
	padding: 0 10px;
	margin-right: 8px;
	border: 1px solid #555;
}






.event-calendar a.eventtitle, .event-calendar a.eventtitle:visited {
	font-weight: bold;
	text-decoration: none;
	color: #fff;
}
.event-calendar a.eventtitle:hover {
	font-weight: bold;
	text-decoration: underline;
	background: none;
	color: #ff9;
}
.event-calendar .description {
  margin: 5px;
  padding: 3px;
  border-left: solid 2px #ddd;
  padding-left: 5px;
}

.event-calendar .start {
  font-style: normal;
  color: #555;
  margin: 2px 0 2px 0;
  padding-left: 3px;
}
.event-calendar .end {
  font-style: normal;
  color: #555;
  margin: 2px 0 2px 0;
  padding-left: 9px;
  font-size: 0.8em;
}
.event-calendar .ongoing {
  font-style: normal;
  color: #555;
  margin: 2px 0 2px 0;
  padding-left: 9px;
  font-size: 0.8em;
}



.event-calendar div.info {
  visibility: hidden;
  height: 0px;
  overflow:hidden;
  padding-left: 3px;
}


/*  individual node view styles  */
.event-calendar div.monthview .title {
  font-size: 0.8em;
}
.event-calendar div.dayview {
  width: auto;
}
.event-calendar div.tableview {
  width: auto;
}
.event-calendar div.tableview .links {
}

.event-calendar .event-empty {
  min-height: 60px;
}
.event-calendar .event-empty-small {
  height: 16px;
}

.container-inline .day input {
  width: auto;
  display: inline;
}
.eventmode {
	font-size: 0.85em;
	color: #aaa;
	text-align: right;
	float: right;
	vertical-align: baseline;
	margin-top: 6px;
}
	


