table.maincal {
	display:table;
	float:left;
	width:96%;
	border:1px solid #333;
	background-color:white;
	color:#333;
	margin:2%;
	font-size:4vw;
}

table.maincal a {
	text-decoration:none;
	display:block;
	width:100%;
	line-height:2;
}

table.maincal td,
table.maincal th {
	padding:2%;
}

table.maincal .weekend a {
	color:#666;
}

table.maincal .othermonth {
	color:white;
}

table.maincal .today a {
	background-color:#EEE;
}

table.maincal .selectedday {
	/*padding:4px 5px;*/
}

table.maincal .selectedday a {
	border:1px solid #333;
	background-color:#EEE;
}

table.maincal .dayheader {
	background-color:#333;
	color:white;
}

table.maincal table.title {
	background-color:#FFF;
}

table.maincal > tbody > tr > td > a:hover {
	background-color:#DDD;
}

/* UI-DATE-PICKER */
#ui-datepicker-div {
	display:none;
	float:left;
	margin:2% 0;
	background-color:white;
	border:1px solid #ddd;
	padding:2%;
	width:92%;
}

.ui-datepicker-header {
	display:block;
	float:left;
	width:100%;
}

.ui-datepicker-prev,
.ui-datepicker-next {
	display:block;
	float:left;
	width:5%;
	margin:1%;
	line-height:2;
	font-size:3vw;
	background-color:#eee;
	border-radius:4px;
	text-indent:-9999px;
	overflow:hidden;
	background-image:url('../img/icons/arrow_left.png');
	background-repeat:no-repeat;
	background-position:center;
	cursor:pointer;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
	background-color:#ddd;
}

.ui-datepicker-next {
	background-image:url('../img/icons/arrow_right.png');
}

.ui-datepicker-title {
	display:block;
	float:left;
	font-size:3vw;
	margin:1%;
	width:84%;
	text-align:left;
	line-height:2;
}

.ui-datepicker-calendar {
	display:table;
	float:left;
	width:96%;
	margin:2%;
	font-size:3vw;
	line-height:2;
}

.ui-datepicker-calendar td,
.ui-datepicker-calendar th {
	text-align:center;
}

.ui-datepicker-calendar td a {
	display:block;
	width:100%;
	text-align:center;
	text-decoration:none;
	color:#333;
	border-radius:4px;
}

.ui-datepicker-today a {
	background-color:#eee;
}

.ui-datepicker-calendar td a:hover {
	background-color:#ddd;
}

.ui-widget-overlay {
	display:block;
	position:fixed;
	left:0;
	top:0;
	height:100%;
	width:100%;
	background-color:rgba(255,255,255,0.8);
}

.ui-widget-overlay img.Update {
	display:block;
	margin:200px auto;
}