/**
 * Rec1 Internal Calendar CSS
 */
#cal-export-dialog {
	width:300px;
}

#cal-export-iframe {
	display:none;
}
#cal-export-dialog .cal-export-from-date{
	margin-top:10px;
}

#cal-export-dialog .cal-export-date label {
	padding-right:10px;
	display:inline-block;
	width:75px;
}

#cal-export-dialog .cal-export-date input{
	width:150px;
}

#calendar.calendar-availability a.fc-more,
#facility-schedule-wrapper.calendar-availability a.fc-more{
	display:none;
}

#calendar td[class*="rec1-day-closed"],
#facility-schedule-wrapper td[class*="rec1-day-closed"]{
	background-color:#fce3e3 !important;
}

#cal-filter-bubbles{
	text-indent:20px;
}

#calendarStyles{
	padding-top: 10px;
	width: 900px;
	margin: 0 auto;
	padding-bottom:20px;
}

#calendarStyles #cal-filter-bubbles{
	padding-left:20px;
}
.fc-badge-closed {
	display: inline-block;
	font-size: 13px;
	font-weight: Bold;
	margin-left:2px;
	text-align: center;
	color:#d9534f;
}

.fc-time{
	display:none;
}
.fc-badge-popover{
	background-color: #d9534f;
	display: inline-block;
	min-width: 10px;
	padding: 3px 7px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 10px;
	margin-left:3px;
}

.fc-agendaWeek-view .fc-time-grid-event{
	display:block;
	overflow: visible !important;
}

.fc-overLimit{
	display:none;
}
.fc-week{
	min-height:100px !important;
}

.fc-popover .location-sort .location-heading{
	font-weight:Bold;
	padding:5px;
	font-size:0.9em;
}

.fc-popover .fc-content{
	padding-left:12px;
	padding-right:12px;
}

.fc-popover a{
	padding:5px;
}

.fc-popover{
	max-height:500px;
	overflow-y:auto;

	width:400px;
}

.fc-popover .fc-day-grid-event>.fc-content{
	white-space: normal !important;
}

.fc-bg{
	background-color:#fbfbfb;
}

.fc-bg .fc-state-highlight{
	background-color:#fcf8e3 !important;
}



.fc-popover{
	z-index:99 !important;
}

.fc-toolbar .fc-state-active, .fc-toolbar .ui-state-active {
	z-index:1 !important;
}

ul.type-filter-checklist li {

}

ul.type-filter-checklist,
ul.tag-filter-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.type-filter-checklist li,
ul.tag-filter-checklist li {
	list-style: none;
	margin: 0;
	padding: 0;
}


ul.type-filter-checklist li label,
ul.tag-filter-checklist li label {
	display: block;
	padding: 5px;
	zoom: 1;
	margin: 0;
}

ul.type-filter-checklist li label:hover {
	background-color: #DDD;
}

ul.type-filter-checklist li label span {
	display: inline-block;
	zoom: 1;
	*display: inline;
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 6px;
}





/* CUSTOM EVENT COLORS */

/* INTERNAL RESERVATIONS ARE BLUE */
.fc-event {
	cursor: pointer;
}

.internal-res,
.fc-agenda .internal-res .fc-event-time,
.internal-res .fc-event-inner {
	color: #3b91ad;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;
}

#calendar.bubbled .internal-res,
#facility-schedule-wrapper.bubbled .internal-res{
	background-color: #3b91ad;
	color: #FFF; /* background color */
	border: 1px solid #3b91ad;     /* border color */
}

#calendar.bubbled .facility-closing,
#facility-schedule-wrapper.bubbled .facility-closing{
	background-color: #000000; /* background color */
	border: 1px solid #000000;     /* border color */
	color: #FFF;           /* text color */
}

.post-rental-buffer-legend{
	background-color:#fff;
}

.membership-schedule-legend,
.membership-schedule:hover,
.fc-agendaDay-view .membership-schedule,
.fc-agendaWeek-view .membership-schedule,
.fc-agenda .membership-schedule:hover .fc-event-time,
.membership-schedule .fc-event-inner:hover {
	background-color: #2a397b;
	color: #FFF; /* background color */
	border: 1px solid #999;     /* border color */
}

.membership-schedule,
.fc-agenda .membership-schedule .fc-event-time,
.membership-schedule .fc-event-inner {
	/* text color */
	color: #2a397b;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#999 1px solid;
}


#calendar.bubbled .membership-schedule,
#facility-schedule-wrapper.bubbled .membership-schedule {
	background-color: #2a397b; /* background color */
	border: 1px solid #2a397b;     /* border color */
	color: #FFF;           /* text color */
}

.membership-schedule-legend,
.membership-schedule-season:hover,
.fc-agendaDay-view .membership-schedule-season,
.fc-agendaWeek-view .membership-schedule-season,
.fc-agenda .membership-schedule-season:hover .fc-event-time,
.membership-schedule-season .fc-event-inner:hover {
	background-color: #2a397b; /* background color */
	border: 1px solid #2a397b;     /* border color */
	color: #FFF;           /* text color */
}


.pending-res-legend,
.pending-res:hover,
.fc-agendaDay-view .pending-res,
.fc-agendaWeek-view .pending-res,
.fc-agenda .pending-res:hover .fc-event-time,
.pending-res .fc-event-inner:hover {
	background-color: #aaa;
	color: #FFF; /* background color */
	border: 1px solid #999;     /* border color */
}

.price-estimates-legend,
.price-estimates:hover,
.fc-agendaDay-view .price-estimates,
.fc-agendaWeek-view .price-estimates,
.fc-agenda .price-estimates:hover .fc-event-time,
.price-estimates .fc-event-inner:hover {
	background-color: #aaa;
	color: #FFF; /* background color */
	border: 1px solid #999;     /* border color */
}

/* RESERVED ACTIVITY SCHEDULE IS DARK GREEN */
.pending-res,
.fc-agenda .pending-res .fc-event-time,
.pending-res .fc-event-inner {
	/* text color */
	color: #aaa;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#999 1px solid;
}

.price-estimates,
.fc-agenda .price-estimates .fc-event-time,
.price-estimates .fc-event-inner {
	/* text color */
	color: #aaa;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#999 1px solid;
}

#calendar.bubbled .pending-res,
#calendar.bubbled .price-estimates,
#facility-schedule-wrapper.bubbled .pending-res,
#facility-schedule-wrapper.bubbled .price-estimates{
	background-color: #aaa; /* background color */
	border: 1px solid #999;     /* border color */
	color: #FFF;           /* text color */
}

.internal-res-season-legend,
.internal-res-season:hover,
.fc-agendaDay-view .internal-res-season,
.fc-agendaWeek-view .internal-res-season,
.fc-agenda .internal-res-season:hover .fc-event-time,
.internal-res-season .fc-event-inner:hover {
	background-color: #288528; /* background color */
	border: 1px solid #288528;     /* border color */
	color: #FFF;           /* text color */
}





.internal-res-legend,
.internal-res:hover,
.fc-agendaDay-view .internal-res,
.fc-agendaWeek-view .internal-res,
.fc-agenda .internal-res:hover .fc-event-time,
.internal-res .fc-event-inner:hover {
	background-color: #3b91ad;
	color: #FFF; /* background color */
	border: 1px solid #3b91ad;     /* border color */
	color: #FFF;
}

/* RESERVED ACTIVITY SCHEDULE IS DARK GREEN */
.internal-res-season,
.fc-agenda .internal-res-season .fc-event-time,
.internal-res-season .fc-event-inner {
	/* text color */


	color: #408540;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;
}

#calendar.bubbled .internal-res-season,
#facility-schedule-wrapper.bubbled .internal-res-season{
	background-color: #288528; /* background color */
	border: 1px solid #288528;     /* border color */
	color: #FFF;           /* text color */
}

.internal-res-season-legend,
.internal-res-season:hover,
.fc-agendaDay-view .internal-res-season,
.fc-agendaWeek-view .internal-res-season,
.fc-agenda .internal-res-season:hover .fc-event-time,
.internal-res-season .fc-event-inner:hover {
	background-color: #288528; /* background color */
	border: 1px solid #288528;     /* border color */
	color: #FFF;           /* text color */
}


/* ACTIVITY SCHEDULE IS FADED GREEN */
.activity-schedule,
.fc-agenda .activity-schedule .fc-event-time,
.activity-schedule .fc-event-inner {


	color: #8bbb8b;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;

}

#calendar.bubbled .activity-schedule,
#facility-schedule-wrapper .activity-schedule{
	background-color: #68ba68; /* background color */
	border: 1px solid #68ba68;     /* border color */
	color: #FFF;           /* text color */
}


.activity-schedule-legend,
.activity-schedule:hover,
.fc-agendaDay-view .activity-schedule,
.fc-agendaWeek-view .activity-schedule,
.fc-agenda .activity-schedule:hover .fc-event-time,
.activity-schedule .fc-event-inner:hover {
	background-color: #68ba68; /* background color */
	border: 1px solid #68ba68;     /* border color */
	color: #FFF;           /* text color */
}


/* LEAGUE GAMES, RED! */
.league-game,
.fc-agenda .league-game .fc-event-time,
.league-game .fc-event-inner {


	color: #c00;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;
}

#calendar.bubbled .league-game,
#facility-schedule-wrapper.bubbled .league-game{
	background-color: #900; /* background color */
	border: 1px solid #c00;     /* border color */
	color: #FFF;           /* text color */
}

.league-game-legend,
.league-game:hover,
.fc-agendaWeek-view .league-game,
.fc-agendaDay-view .league-game,
.fc-agenda .league-game:hover .fc-event-time,
.league-game .fc-event-inner:hover {
	background-color: #900; /* background color */
	border: 1px solid #c00;     /* border color */
	color: #FFF;           /* text color */
}

.closures-legend,
.facility-closing:hover,
.fc-agendaWeek-view .facility-closing,
.fc-agendaDay-view .facility-closing,
.fc-agenda .facility-closing:hover .fc-event-time,
.facility-closing .fc-event-inner:hover {
	background-color: #000000; /* background color */
	border: 1px solid #000000;     /* border color */
	color: #FFF;           /* text color */
}

.facility-closing,
.fc-agenda .facility-closing .fc-event-time,
.facility-closing .fc-event-inner {
	color: #000;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;
}

/* CUSTOMER RES */
.customer-res,
.fc-agenda .customer-res .fc-event-time,
.customer-res .fc-event-inner {



	color: #555;
	background: none;
	/* background color */
	border:none;     /* border color */
	/* text color */
	border-radius:0px;
	border-bottom:#ddd 1px solid;
}

#calendar.bubbled .customer-res,
#facility-schedule-wrapper.bubbled .customer-res{
	background-color: #555; /* background color */
	border: 1px solid #666;     /* border color */
	color: #FFF;           /* text color */
}

.customer-res-legend,
.customer-res:hover,
.fc-agendaWeek-view .customer-res,
.fc-agendaDay-view .customer-res,
.fc-agenda .customer-res:hover .fc-event-time,
.customer-res .fc-event-inner:hover {
	background-color: #555; /* background color */
	border: 1px solid #666;     /* border color */
	color: #FFF;           /* text color */
}

/* AVAILABILITY (SHARED) */
.availability-open,
.availability-partial,
.availability-none,
.availability-closed{
	height:      80px;
	line-height: 80px;
	text-align: center;
	font-size: 14px;
}

/* AVAILABILITY OPEN */
.availability-open,
.fc-agenda .availability-open .fc-event-time,
.availability-open .fc-event-inner {
	background-color: #86b486; /* background color */
	border-color: #86b486;     /* border color */
	color: #FFF;           /* text color */
}

.availability-open:hover,
.fc-agenda .availability-open:hover .fc-event-time,
.availability-open .fc-event-inner:hover {
	background-color: #86b486; /* background color */
	border-color: #86b486;     /* border color */
	color: #FFF;           /* text color */
}

/* AVAILABILITY PARTIAL */
.availability-partial,
.fc-agenda .availability-partial .fc-event-time,
.availability-partial .fc-event-inner {
	background-color: #d8ba61; /* background color */
	border-color: #d8ba61;     /* border color */
	color: #FFF;           /* text color */
}

.availability-partial:hover,
.fc-agenda .availability-partial:hover .fc-event-time,
.availability-partial .fc-event-inner:hover {
	background-color: #d8ba61; /* background color */
	border-color: #d8ba61;     /* border color */
	color: #FFF;           /* text color */
}

/* AVAILABILITY NONE */
.availability-none,
.fc-agenda .availability-none .fc-event-time,
.availability-none .fc-event-inner {
	background-color: #CCC; /* background color */
	border-color: #CCC;     /* border color */
	color: #000;           /* text color */
}

.availability-none:hover,
.fc-agenda .availability-none:hover .fc-event-time,
.availability-none .fc-event-inner:hover {
	background-color: #CCC; /* background color */
	border-color: #CCC;     /* border color */
	color: #000;           /* text color */
}

/* AVAILABILITY CLOSED */
.availability-closed,
.fc-agenda .availability-closed .fc-event-time,
.availability-closed .fc-event-inner {
	background-color: #333; /* background color */
	border-color: #333;     /* border color */
	color: #FFF;           /* text color */
}

.availability-closed:hover,
.fc-agenda .availability-closed:hover .fc-event-time,
.availability-closed .fc-event-inner:hover {
	background-color: #333; /* background color */
	border-color: #333;     /* border color */
	color: #FFF;           /* text color */
}

#calendar td[class*="fc-day"] {
	cursor: pointer;
	filter: none;
	background: none;
}


#calendar {
	padding-top:10px;
	margin: 0 auto;
}

#calendar:not(.dashboard-calendar){
	width: 900px;
}


li.cal-menu-item {
	margin-right: 25px;
}

a.cal-menu-link {
	padding: 5px 10px !important;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

a.cal-menu-link img {
	margin-right: 8px;
}

#cal-print {
	/*padding: 5px 16px 5px 10px;*/
}

.v-scroller {
	overflow-x: visible; overflow-y: scroll; width: auto; max-height: 400px;
	padding: 5px;
	padding-right: 20px;
}

.v-scroller ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.v-scroller ul li {
	padding: 5px;
}

#cal-settings .ui-buttonset .ui-button {
	margin-right: -0.4em;
	/*ie7*/
	vertical-align: top;
	height: 22px;
}

#cal-settings .ui-dropdown {
	min-height: 0;
	font-size: 12px;
	max-height: 350px;
	overflow-y: scroll;
}

#cal-settings {

}

#cal-controls {
	position: relative;
	height: 40px;

	font-size: 11px;
}

#cal-controls #filter-controls {
	float: left;
}

#cal-controls #view-controls {
	position: absolute;
	z-index: 50;
	right: 0;
	top: 0;
}


#calendar-title {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin: 0 auto;
	padding: 0;
}

#cal-location-dropdown {
	*width: 300px;
}

#cal-program-dropdown {
	*width: 300px;
}

#filter-description {
	font-size: 11px;
	color: #777;
}

#filter-clear{
	font-size: 12px;
	float: right;
	cursor: pointer;
}

#filter-description span {
	font-weight: bold;
	color: #222;
}









/**
 * Facility availability grid
 */

#facility-availability-wrapper {

}


.facility-availability-grid {
	border: 1px #CCC solid;
	background-color: #F3F3F3;
	overflow: hidden;
	height: 400px;
	position: relative;
}

.calendar-scheduler {
	border: 1px #CCC solid;
	background-color: #F3F3F3 !important;
	position: relative;
	height: 600px;
	margin:auto !important;
}


.calendar-scheduler .rbc-btn-group button{
	margin: 0px !important;
	font-size: 12px;
	padding: 5px;
	height: inherit;
	width: 80px;
}

.calendar-scheduler .rbc-header {
	height: 40px;
	line-height: 40px;
}



.facility-availability-grid-fixed-row {
	overflow: hidden;
	height: 60px;
	padding-bottom: 1px;
	position: absolute;
	margin-left: 141px;
	z-index: 4;
}

.facility-availability-grid-fixed-row-inner {
	width: 9999px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}


.facility-availability-scroller-outer {
	overflow: scroll;
	margin-left: 141px;
	margin-top: 60px;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

}

.facility-availability-scroller-inner {
	width: 9999px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
}


.facility-availability-grid-col,
.facility-availability-grid-header,
.facility-availability-grid-time,
.facility-availability-grid-cell {
	float: left;
	width: 60px;
}

.facility-availability-grid-title {
	font-weight: bold;
	text-align: center;
	width: 140px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	padding-left: 1px;
}

.facility-availability-grid-title .day {
	font-size: 13px;
	color: #444;
	padding: 3px;
}
.facility-availability-grid-title .date {
	font-size: 10px;
}
.facility-availability-grid-title .date input.datepicker {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	-o-border-radius: 0;
	font-size: 11px;
	width: 58px;
	margin: 0;
	padding: 1px 3px;
	vertical-align: top;
	margin-right: -0.4em;
}

.facility-availability-grid-col {
	height: auto;
	width: 61px;
	position: relative;
}

.facility-availability-grid-header,
.facility-availability-grid-title {
	height: 60px;
}

.facility-availability-grid-header,
.facility-availability-grid-time,
.facility-availability-grid-title {
	background-color: #F3F3F3;
	border-right: 1px #CCC solid;
	border-bottom: 1px #CCC solid;
}

.facility-availability-grid-time,
.facility-availability-grid-cell {
	height: 15px;
	padding-top: 1px;
	padding-left: 1px;
}

.facility-availability-grid-cell {
	background-color: #DDD;
	border-right: 1px #DDD solid;
	border-bottom: 1px #DDD solid;
	position: relative;
	cursor: default;
}


.facility-availability-grid-cell div.time {
	position: absolute;
	color: #94c694;
	font-size: 10px;
	height: 25px;
	line-height: 25px;
	margin-left: 5px;
}

.facility-availability-grid-cell.available {
	background-color: #D5FFD5;
}
.facility-availability-grid-cell.closed {
	background-color: #333;
	border-right: 1px #333 solid;
	border-bottom: 1px #333 solid;
}
.facility-availability-grid-cell.booked {
	background-color: #FFD5D5;
}

.facility-availability-grid-cell.max-booked {
	background-color: #eed5ff;
}

.facility-availability-grid-cell.selected {
	border-right: 1px #408540 solid;
	border-bottom: 1px #408540 solid;
	background-color: #408540;
}
.facility-availability-grid-cell.selected-t {
	border-top: 1px #000 solid;
	padding-top: 0;
}
.facility-availability-grid-cell.selected-l {
	border-left: 1px #000 solid;
	padding-left: 0;
}

.facility-availability-grid-header span,
.facility-availability-grid-time span,
.facility-availability-grid-cell span {
	display: block;
	overflow: hidden;
}

.facility-availability-grid-header span {
	padding: 5px;
}

.facility-availability-grid-time span {
	text-align: center;
}

.facility-availability-fixed-col {
	position: absolute;
	margin-top: 60px;
	z-index: 2;
}

.facility-availability-grid-time,
.facility-availability-fixed-col {
	width: 140px;
}

.availability-date-cycle .ui-button {
	padding: 0.1em;
}

.availability-date-prev,
.availability-date-next {
	height: 20px;
	margin: 0;
	padding: 1px 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
	vertical-align: top;
	margin-right: -0.4em;
}

#cal-filter-voided {
	height: 40px;
	line-height: 40px;
	margin-left: 2em;
}

#cal-facility-treeview,
#cal-activity-treeview {
	margin: 10px;
	min-width: 400px;
}

#cal-location-dropdown,
#cal-program-dropdown {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 10px;
	max-height: 500px;
}

.calendar-assigned-user-userpicker {
	z-index: 9999 !important;
}