body {
	background:#000;
	font-family: sans-serif;
	margin: 0;
	padding: 0;
}

table.cal {
	border-collapse:collapse;
	table-layout:fixed;
	width:100%;
}
table.cal td {
	border-style: solid;
	border-width: 1px;
	overflow:hidden;
	padding:0;
	white-space:nowrap;
}
table.cal {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently
						supported by Chrome and Opera */
}

/* Navigation */

table.cal tr.nav img {
	height:30%;
}
table.cal td.btn {
	cursor:pointer;
	font-size:170%;
	text-align:center
}
table.cal td.my {
	font-size:130%;
	text-align: center;
}

/* Days of Week */

table.cal td.dow {
	text-align:center
}

/* Days of Month */

table.cal td.dom{
	/*cursor:pointer;*/
	vertical-align:top;
}
table.cal td.dom>span:first-child {
	padding:0 0 0 .15em;
}


/* light theme */
/*
table.cal td {
	background-color: #fff;
	border-color: #777;
	color: #000;
}
table.cal td.btn {
	background:#eee;
	background:-webkit-linear-gradient(#bbb, #fff, #bbb);
	background:-o-linear-gradient(#bbb, #fff, #bbb);
	background:-moz-linear-gradient(#bbb, #fff, #bbb);
	background:linear-gradient(#bbb, #fff, #bbb);
}
table.cal td.dow{
	background: #ddd;
}
table.cal .pdom,
table.cal .ndom {
	color: #aaa;
}
table.cal .today {
	background-color:#000;
	color: #fff;
}
*/

/* dark theme */

table.dark td {
	background-color: #000;
	border-color: #555;
	color: #fff;
}
table.dark td.btn {
	background:#202020;
	background:-webkit-linear-gradient(#000, #282828, #000);
	background:-o-linear-gradient(#000, #282828, #000);
	background:-moz-linear-gradient(#000, #282828, #000);
	background:linear-gradient(#000, #282828, #000);
}
table.dark td.dow{
	background:#181818;
}
table.dark .pdom,
table.dark .ndom {
	color:#444;
}
table.dark .today {
	background-color: transparent;
	color: #f00;
}
