/* VERSIONS
/* 6_0 Module Framework

/* CALENDAR STYLES
----------------------------------------------------------------------------- */

dl.calendar-day dd h4{ line-height: normal; color: #2d190b; font-family: "MuseoSans-500", Arial, Helvetica, sans-serif;}
	dl.calendar-day dd h4 a{
		font-family: "MuseoSans-500", Arial, Helvetica, sans-serif;
		color: #851900;
		}
dl.calendar-day dd h5{ line-height: normal; color: #555; }

.sc ul.calendar-formlist li { background: none; padding-left: 0; margin-bottom: 3px; }

/* 
-----------------------------------------------------------------------------
 =BUTTONS
----------------------------------------------------------------------------- */	

.controls{ position: relative; }
	
	.controls .paging,
	.controls .views{ float: left; margin-right: 2em; }
		.controls .paging a,
		.controls .views a{ position: relative; display: inline; }

	.calendar .hd .controls div.customize,
		.calendar .hd .controls div.customize a.customize{ top: 0; right: 0;}
		.calendar .hd .controls div.customize a.customize{ position: relative;}
		.calendar .controls div.customize .sc{ position: absolute; z-index: 32; right: 0; top: 2em;}
			.calendar .controls div.customize .sc .module{  }

.views {}
	.views span.label {}
	.views a {}
		.views a.view-list {}
		.views a.view-month {}	
		.views a.view-week {}
		.views a.view-oneweek {}
		.views a.view-twoweek {}
		.views a.view-print {}

/* 
-----------------------------------------------------------------------------
 =CALENDAR-LIST
----------------------------------------------------------------------------- */
.calendar .list{}
	.calendar .list dl.calendar-day {	 
		min-height: 60px;
		padding: .5em 0;
		border-bottom: 1px dashed #8f836f;
		border-top: 1px dashed #e7dfd0;
		}
		.calendar .list dl.calendar-day.first-child { border-top: 0; }
		.calendar .list dl.calendar-day.last-child { border-bottom: 0; }
		.calendar .list dl.calendar-day.only-child { border: 0; }
		.calendar .list dl.calendar-day dt {
			display: block;
			float: left;
			height: 53px;
			position: relative;
			width: 53px;
			}
			.calendar .list dl.calendar-day dt span {
				display: block; 
				text-align: center; 
				text-transform: uppercase;
				font-family:Arial, Helvetica, sans-serif;
				font-size: 10px;
				position: absolute;
				top: 0;
				left: 0;
				line-height: normal;
				width: 53px;
				}
			.calendar .list dl.calendar-day dt span.month {
				top: 30px;
				font-size: 10px;
				}
			.calendar .list dl.calendar-day dt span.date {
				font-size: 24px;
				top: 8px;
				}
			.calendar .list dl.calendar-day dt img { display: block; }
		.calendar .list dl.calendar-day dd {
			margin-left: 60px; 
			margin-bottom: 0;
			}
			.calendar .list dl.calendar-day dd span { color: #81674a; font-size: 11px; line-height: 1em; }

/* 
-----------------------------------------------------------------------------
 =CALENDAR-TABLES Mini-block, Block, Week
 
 Available Classes:
 table.month#
 table th.first-child / last-child
 table tr.first-child / last-child / week#
 table td.first-child / last-child / other-month / other-month-day# / day# / today
 table dl dd.first-child / last-child / only-child / alt
----------------------------------------------------------------------------- */
.table-container{ margin-bottom: .75em; }
	.table-container table {
		border-collapse: collapse;
		border: 1px solid #beb7ac; 
		border-right: 0;
		background: #ebe4d5;
		width: 100%;
		}
		.table-container table th{
			border: 1px solid #beb7ac;
			border-top: 0;
			text-align: center;
			}
		.table-container table td{
			border: #beb7ac;
			border: 1px solid #beb7ac;
			color: #837b6e;
			text-align: center;
			vertical-align: center;
			border-left: 0;
			}
		.table-container table td.other-month{ color: #aba395; }
		.table-container table td.today{ color: #8e291c; }
		.table-container table td.event{ background: #f3edd7; }	
			.table-container table td.event h4 { font-size: 1.1em; }
			.table-container table td span{ /* other month */ }
			.table-container table td a{}
			.table-container table td.today a{}
			.table-container table td.event a{}
	
/* 
-----------------------------------------------------------------------------
 =CALENDAR-MINI
----------------------------------------------------------------------------- */
.calendar-mini {}
	.calendar-mini .paging{ display: none; }
	
	.calendar-mini form select {
		margin: 6px auto;
		width: 100%;
		}
	.calendar-mini h2 { z-index: 2; position: relative; }
	.calendar-mini .table-container {
		margin-top: -20px;
		z-index: 1;
		margin-bottom: 3px;
		padding-bottom: 15px;
		background: url(/images/common/bg_miniblock_footer.png) bottom center no-repeat;
		}
		.calendar-mini .table-container table td.past{ background: url(/images/common/bg_miniblock_past.png) no-repeat; }
		.calendar-mini .table-container table td.past.event{ background: url(/images/common/bg_miniblock_past.png) no-repeat #f3edd7; }
	.calendar-mini table {}
		.calendar-mini table th{
			font-weight: normal; 
			font-size: 1.3em;
			height: 33px;
			padding-top: 15px; }
		.calendar-mini table td{
			text-align: center;
			font-size: 1.3em;
			width: 33px;
			height: 34px;
			}
		.calendar-mini table td.other-month{
			}
		.calendar-mini table td.today { color: #3a3937; font-weight: bold; }
		.calendar-mini table td.event{
			}
			.calendar-mini table td span{}
			.calendar-mini table td a{
				text-decoration: none;
				display: block;
				}
			.calendar-mini table td.today a{}
			.calendar-mini table td.event a{ }
	.calendar-mini div.calendar-prevnext {
		z-index: 3;
		position: relative;
		}
		.calendar-mini a.prev,
		.calendar-mini a.next {
			text-indent: -9999em;
			overflow: hidden;
			display: block;
			width: 28px;
			height: 28px;
			position: absolute;top: -48px;;
			}
			.calendar-mini a.prev {
				left: 12px;
				}
			.calendar-mini a.prev:hover { background: url(/images/common/bg_miniblock_prev.png) no-repeat; }
			.calendar-mini a.next {
				left: 199px;
				}
			.calendar-mini a.next:hover { background: url(/images/common/bg_miniblock_next.png) no-repeat; }
	.calendar-views { overflow: auto; }
		.calendar-views .week.button,
		.calendar-views .block.button,
		.calendar-views .print.button,
		.calendar-views .list.button,
		.calendar-views .month.button {
			float: left;
			display: block;
			height: 26px;
			text-indent: -999em;
			overflow: hidden;
			padding: 0 !important;
			}
			.calendar-views .button:hover { background-position: 0px -27px; }
			.calendar-views .block,
			.calendar-views .month { width: 65px; background-image: url(/images/common/btn-month.gif); margin-right: 11px; }
			.calendar-views .week { width: 62px; background-image: url(/images/common/btn-week.gif); margin-right: 11px; }
			.calendar-views .list { width: 53px; background-image: url(/images/common/btn-listview.gif); margin-right: 11px; }
			.calendar-views .print { width: 89px; background-image: url(/images/common/btn-printview.gif); }
			

/* 
-----------------------------------------------------------------------------
 =MONTH/WEEK CALENDAR
----------------------------------------------------------------------------- */
.calendar-month{}
	.calendar-month .month-select { margin-bottom: 12px; }
	.calendar-month .month-select select { width: 160px; position: absolute; top: 0; right: 0; }
	
	.calendar-month .calendar-prevnext { float: left; margin-right: 12px; }
		.calendar-month .calendar-prevnext a { margin-right: 4px; }
	.calendar-month .calendar-views { float: right; margin-left: 12px; }
		.calendar-month .calendar-views a { margin-left: 4px; }
	
	.calendar-month-week .calendar-prevnext { float: right; margin-left: 12px; height: 20px; }
		.calendar-month-week .calendar-prevnext a { margin-right: 4px; }
	.calendar-month-week .table-container {margin-top: 3.5em;}
	
	.calendar-month table {
		width: 100%;
		}
		.calendar-month table th{
			padding: 0.4em;
			text-align: center;
			font-size: 1.5em;
			}
		.calendar-month table td{
			width: 16%;
			}
		.calendar-month table td.other-month{}
		.calendar-month table td.today{ }
		.calendar-month table td.event{}
			.calendar-month table td span{}
			.calendar-month table td a{}
			.calendar-month table td.today a{}
			.calendar-month table td.event a{}
		.calendar-month table td dl.calendar-day{}
			.calendar-month table td dl.calendar-day dt{
				font-weight: bold;
				padding: 0.4em;
				margin-bottom: 0.6em;
				border-bottom: 1px solid #CCC;
				}
		    .calendar-month table td.today dl.calendar-day dt{ 
		        }
			.calendar-month table td dl.calendar-day dd{
				padding: 0 0.4em 1em;
				}
				.calendar-month table td dl.calendar-day dd h4,
				.calendar-month table td dl.calendar-day dd h5{ font-size: 1em; }
	

/* 
-----------------------------------------------------------------------------
 =KEY
----------------------------------------------------------------------------- */
dl.key { display: none; }
	dl.key dt { font-weight: bold; }
	dl.key ul { list-style: none; list-style-image: none;  }
		dl.key ul li { padding-left: 0; background: none; }
			dl.key ul li span{ width: 20px; height: 20px; display: block; float: left; margin: -2px 8px 0 0;}
			dl.key ul li.noevent span{ background-color: #E9F7FF; }
			dl.key ul li.today span{ background-color: #8DD3FF; }
			dl.key ul li.event span{ background-color: #CAE9FC; }