.popupcalendar {
    display: none; /* Скрыто по умолчанию */
	float: left;
	position: fixed;
	top: 50%; 
    left: 50%;
	z-index: 99999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
    width: 610px;
    
 }

.popupcalendar #intabdiv {
    background: #ffffff url(../images/content-bg.png); 
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: inset 0px 0px 10px 7px #dddddd;
    -webkit-box-shadow: inset 0px 0px 10px 7px #dddddd;
    box-shadow: inset 0px 0px 10px 7px #dddddd;
    padding: 15px 0;
    background-color: #FFF;
}

table {
	border-collapse: separate;
	border: 1px solid #9DABCE;
	border-width: 0px 0px 1px 1px;
	margin: 5px auto 0;
	font-size: 20px;
 }
td, th {
	width: 81px;
	height: 81px;
	text-align: center;
	vertical-align: middle;
	background: url(../images/calendar/cells.png);
	color: #444;
}
th {
	height: 30px;
	font-weight: bold;
	font-size: 14px;
}
td:hover, th:hover {
	background-position: 0px -81px;
	color: #222;
}
td.date_has_event {
	background-position: 162px 0px;
	color: white;
}
td.date_has_event:hover {
	background-position: 162px -81px;
}
td.padding {
	background: url(../images/calendar/calpad.jpg);
}
td#today {
	background-position: 81px 0px;
	color: white;
}
td#today:hover {
	background-position: 81px -81px;
}
.events {
	position: relative;
}
.events ul {
	text-align: center;
	position: absolute;
	display: none;
	z-index: 1000;
	padding: 15px 0 15px 0;
	background: #E7ECF2 url(../images/calendar/popup.png) no-repeat;
	color: white;
	border: 1px solid white;
	font-size: 15px;
	/*width: auto;*/
	width: 170px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	-border-radius: 3px;
	list-style: none;
	color: #444444;
	-webkit-box-shadow: 0px 8px 8px #333;
}
.events li {
	padding-bottom: 5px;
}
.events li span {
	display: block;
	font-size: 12px;
	text-align: center;
	color: #555;
}
.events li span.title {
	font-weight: bold;
	color: #222;
}
