/***************************************
 * Event Calendar
 **************************************/

#ccbpress-event-calendar { border-collapse: collapse; border: 0; width: 100%; table-layout: fixed; }
#ccbpress-event-calendar th { border: 1px solid #fff; text-align: center; color: #fff; background-color: #544f46; padding: 5px 0; }
#ccbpress-event-calendar td { border: 0; max-width: 14.28571428571429%; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td { border: 1px solid #F3F0E4; padding: 0; height: 100px; vertical-align: top; font-size: 0.9em; }
#ccbpress-event-calendar .ccbpress-event-calendar-days .ccbpress-event-calendar-today div { background-color: #B5B5B5; color: #fff; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td div { text-align: right; font-size: 1.2em; padding: 0 5px; color: #544f46; background-color: #DDDDDD; line-height: 1.8em; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td div .ccbpress-event-calendar-agenda-day { display: none; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td ul { list-style-type: none; margin: 0; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td ul li { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td ul li a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: normal; color: #000; text-decoration: none; display: block; padding: 2px 4px; }
#ccbpress-event-calendar .ccbpress-event-calendar-days td ul li a:hover { background-color: #EFEFEF; }
#ccbpress-event-calendar .ccbpress-event-calendar-days .ccbpress-event-calendar-blank { border: 0; }
.ccbpress-event-calendar-prev-month { float: left; text-align: left; position: relative; }
.ccbpress-event-calendar-prev-month a { text-decoration: none; color: #000; background-color: #ddd; text-transform: uppercase; display: block; float: left; padding: 2px 10px; font-size: 0.8em; font-weight: bold; }
.ccbpress-event-calendar-prev-month > a:visited,
.ccbpress-event-calendar-next-month > a:visited { color: #000; }
.ccbpress-event-calendar-next-month { float: right; text-align: right; }
.ccbpress-event-calendar-next-month a {  text-decoration: none; color: #000; background-color: #ddd; text-transform: uppercase; display: block; float: right; padding: 2px 10px; font-size: 0.8em; font-weight: bold; }
.ccbpress-event-calendar-month { text-align: center; font-weight: bold; font-size: 2em; color: #000; }
#powered-by-ccbpress { font-style: italic; text-align: right; padding-bottom: 10px; }

/* iPad - Portrait
--------------------------------------------------------------------*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	#ccbpress-event-calendar { table-layout: auto; }
	#ccbpress-event-calendar th,
	#ccbpress-event-calendar td { display: block; max-width: 100%; }
	#ccbpress-event-calendar th { display: none; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td div { text-align: left; padding: 0 5px; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td { height: auto; border: 0; }
	#ccbpress-event-calendar .ccbpress-event-calendar-empty-day { display: none; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td div .ccbpress-event-calendar-agenda-day { display: inline; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td ul li a { padding: 4px 8px; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days .ccbpress-event-calendar-blank { display: none; }
}

/* Other portrait tablets and most phones
--------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
	#ccbpress-event-calendar { table-layout: auto; }
	#ccbpress-event-calendar th,
	#ccbpress-event-calendar td { display: block; max-width: 100%; }
	#ccbpress-event-calendar th { display: none; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td div { text-align: left; padding: 0 5px; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td { height: auto; border: 0; }
	#ccbpress-event-calendar .ccbpress-event-calendar-empty-day { display: none; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td div .ccbpress-event-calendar-agenda-day { display: inline; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days td ul li a { padding: 4px 8px; }
	#ccbpress-event-calendar .ccbpress-event-calendar-days .ccbpress-event-calendar-blank { display: none; }
}

/***************************************
 * Individual Events
 **************************************/

.ccbpress-event-name { font-size: 1.5em; font-weight: bold; }
.ccbpress-event-description { padding-top: 15px; }
.ccbpress-event-recurrence-description { color: #8A8A8A; }
.ccbpress-event-location,
.ccbpress-event-exceptions { padding-top: 15px; }

/***************************************
 * Group Info Widget
 **************************************/

.ccbpress-group-info .ccbpress-group-name {	font-weight: bold; font-size: 1.3em; margin: 10px 0; }
.ccbpress-group-info .ccbpress-group-image { width: 100%; height: auto; margin: 10px 0; }
.ccbpress-group-info .ccbpress-group-description { margin: 10px 0; }
.ccbpress-group-info .ccbpress-group-registration-forms { margin: 10px 0; font-weight: bold; }
.ccbpress-group-info .ccbpress-group-registration-forms > ul { font-weight: normal; }
.ccbpress-group-info .ccbpress-group-leader { margin: 10px 0; }
.ccbpress-group-info .ccbpress-group-leader-name { font-weight: bold; }

/***************************************
 * Group Search
 **************************************/
 
.ccbpress-group-search-filter { display: block; width: 250px; float: left; margin: 0 10px 10px 0; }
.ccbpress-group-search-filter select { width: 100%; }
.ccbpress-group-search-button { clear: both; margin-bottom: 15px; }
.ccbpress-group-search { width: 100%; }
.ccbpress-group-search .ccbpress-group-name { font-size: 1.2em; font-weight: bold; }
.ccbpress-group-search .ccbpress-group-full { font-weight: normal; font-size: 0.8em; white-space: nowrap; }
.ccbpress-group-search .ccbpress-group-spots-available { font-weight: normal; font-size: 0.8em; white-space: nowrap; }
.ccbpress-group-search .ccbpress-group-leader { font-style: italic; }
.ccbpress-group-search-meta { display: inline-block; padding-right: 10px; white-space: nowrap; text-transform: uppercase; font-size: 0.85em; }
.ccbpress-group-search th { white-space: nowrap; }
.ccbpress-group-search tr td { vertical-align: top; padding-bottom: 15px; }
.ccbpress-group-search-no-results { text-align: center; font-size: 1.3em; font-style: italic; padding: 15px; }

/* iPad - Portrait
--------------------------------------------------------------------*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	.ccbpress-group-search-filter { width: 100%; float: none; margin: 0 0 10px 0; }
	.ccbpress-group-search thead,
	.ccbpress-group-search tbody,
	.ccbpress-group-search td,
	.ccbpress-group-search tr { display: block; }
	.ccbpress-group-search th { display: none; }
}

/* Other portrait tablets and most phones
--------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
	.ccbpress-group-search-filter { width: 100%; float: none; margin: 0 0 10px 0; }
	.ccbpress-group-search thead,
	.ccbpress-group-search tbody,
	.ccbpress-group-search td,
	.ccbpress-group-search tr { display: block; }
	.ccbpress-group-search th { display: none; }
}

/***************************************
 * Group Search Widget
 **************************************/
 
form.group-search-widget .ccbpress-group-search-filter { display: block; width: 100%; padding: 0 0 10px 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
form.group-search-widget .ccbpress-group-search-filter select { width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/***************************************
 * Upcoming Events Widget
 **************************************/
 
.ccbpress_upcoming_events.graphical_theme { list-style: none; margin-left: 0; }
.ccbpress_upcoming_events_graphical_date { float: left; font-weight:bold; text-align: center; width: 50px; height: 50px; margin: 0 10px 10px 0; font-family: Arial, Helvetica, sans-serif; font-size: 26px; line-height: 22px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.ccbpress_upcoming_events_graphical_date div { font-size: 12px; line-height: 20px; text-transform: uppercase; }
.ccbpress_upcoming_events_graphical_name { font-size: 16px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccbpress_upcoming_events_graphical_detail { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccbpress_upcoming_events_clear { clear: both; }