/* for event tags */
.event-color-1.checked, .checked .event-color-1  { background-color: #ddeefa !important; }
.event-color-2.checked, .checked .event-color-2  { background-color: #e6f2e0 !important; }
.event-color-3.checked, .checked .event-color-3  { background-color: #fde2e0 !important; }
.event-color-4.checked, .checked .event-color-4  { background-color: #feebd6 !important; }
.event-color-5.checked, .checked .event-color-5  { background-color: #ebe7f3 !important; }
.event-color-6.checked, .checked .event-color-6  { background-color: #fffde3 !important; }
.event-color-7.checked, .checked .event-color-7  { background-color: #f3ffdc !important; }
.event-color-8.checked, .checked .event-color-8  { background-color: #a6d7ef !important; }
.event-color-9.checked, .checked .event-color-9  { background-color: #abe4c0 !important; }
.event-color-10.checked, .checked .event-color-10 { background-color: #fddab0 !important; }
.event-color-11.checked, .checked .event-color-11 { background-color: #d0c8e1 !important; }



.month-label {
	display: block;
	text-align: center;
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
}

/* events/item.ftl */
.recurrences {
	margin-top: 1em;
}

#calendar_lower {
	display: flex;
}
.pff #calendar_lower {
    display: block;
}

@media only screen and (max-width: 767px) {
	#calendar_lower {
		flex-wrap: wrap;
	}
}

.recurrences ul {
	margin-top: 0;
	padding-top: 0;
}

.pageTitle {
	overflow: hidden;
}

.mobile #event_item_wrapper {
    padding-left: 11px;
    padding-right: 11px;
}

#event_item_wrapper .navigation-foot {
    display: inline-block;
    background-color: rgba(0,0,0,.06);
    padding: .2em .8em;
    margin-top: .8em;
    border-radius: 5px;
    width: auto;
}

#event_item_wrapper dl {
    padding: 0;
    margin: 0;
    line-height: 1.5;
    overflow: auto; /* contain floats */
}

#event_item_wrapper dt {
    font-weight: bold;
    width: auto;
    padding: 0 .5em 0 0;
    margin: 0;
    float: left;
    clear: left;
}

#event_item_wrapper dt:after {
    content: ':';
}

#event_item_wrapper dd {
    padding: 0;
    margin: 0;
}

.event-permalink {
	font-size: .77em;
}

/* events/index_grid.ftl */
#calendar_loading_indicator {
	display: none;
	background-color: #FFFFFF;
	border: 1px solid #999;
	box-shadow: 1px 1px 18px rgba(0, 0, 0, 0.7);
	color: #333333;
	font-family: 'Helvetica Neue';
	font-size: 2.4em;
	font-style: oblique;
	font-weight: bold;
	height: 83px;
	left: 50%;
	line-height: 83px;
	position: absolute;
	text-align: center;
	top: 50%;
	width: 320px;
	z-index: 2147483647;
	margin-left: -160px;
}

/* events/index_grid.ftl */
.mobile #calendar_loading_indicator {
	width: 280px;
	margin-left: -140px;
}

#calendar_grid {
	border-collapse: collapse;
	border-spacing: 0;
}

#calendar_grid .minigrid-cell {
	background-color: rgb(240, 240, 240);
	background-color: rgba(0, 0, 0, .05);
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
}

#calendar_grid .minigrid-cell a {
	opacity: .6;
}

#calendar_grid .this-month a {
	opacity: 1;
}

#calendar_grid .this-month {
	background-color: transparent;
	opacity: 1;
}

#calendar_grid td {
/*	border: solid 1px rgb(160, 160, 160);*/
	width: 20px;
	text-align: center;
}

#calendar_grid td a {
	padding: 0.25em 0.5em;
}

#calendar_grid th {
	text-align: center;
/*	border: 1px solid transparent;*/
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
}

#calendar_grid td {
	height: 20px;
}

#calendar_grid ul, #calendar_grid li {
	text-align: center;
	margin: 0;
	padding: 0;
	list-style: none none;
}

#calendar_grid ul {
	background-color: #ccc;
}

#calendar_grid li {
	display: inline-block;
	*display: inline;
	margin: 0;
	padding: 0;
}

#calendar_grid .this-month.today {
	background-color: rgb(204, 204, 204);
	background-color: rgba(0, 0, 0, .2);
	color: #fff !important;
}

#calendar_grid table {
	width: 100%;
	border-collapse: collapse;
}

#calendar_grid {
	padding: 0.5em 0 1em;
}

#calendar_grid table caption {
	font-weight: bold;
}

#calendar_grid table td {
	border-style: solid;
	border-color: #A0A0A0;
	border-width: 0 1px 1px 0;
}


#calendar_grid table td:first-child {
	border-left-color: #ccc;
	border-left-width: 1px;
}

#calendar_grid table tr:first-child td {
	border-top-color: #ccc;
	border-top-width: 1px;
}

/*  Keep this style general  */
.dots-indicator {
	display: block;
	font-size: 11px;
	font-weight: bold;
	line-height: 6px;
	letter-spacing: 2px;
	font-family: 'Arial' !important;
}

.screen-reader-text {
	border: 0;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
}


#calendar_grid .day-in-current-month {
	background-color: #fff;
}







/* events/index.ftl */
body .modal-body {
	font-family: 'Arial', 'Helvetica', sans-serif;
	padding-top: 0;
	padding-left: 0;
}

#calendar_head {
	background-color: #f0f0f0; /* Fall back for IE */
}

#calendar_head {
	background-color: rgba(0,0,0,.06);
	color: #333;
	padding: .6em .8em;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#calendar_head .date-heading {
	margin: 0;
	padding: 0 0 0 .67em;
	font-size: 1.68em;
	float: left;
	line-height: 1.35;
	font-weight: bold;
}

#calendar_head .title-heading {
	margin: 0;
	padding: 0 0 0 .67em;
	font-size: 1.68em;
	float: left;
	line-height: 1.35;
	font-weight: bold;
}

.right-column {
	min-width: 250px;
	*width: 250px;
}




/* tags */
.event-tags-form fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.event-tags-form legend {
	font-weight: bold;
}

.event-tags-form legend.empty-calendar {
	color: #b95613;
}


.event-tags-form ol, .event-tags-form li,
.event-tag-list, .event-tag-list li {
	margin: 0;
	padding: 0;
	list-style: none none;
}

.event-tags-form ol {
	padding-bottom: 0.25em;
}

.event-tags-form .form-actions {
	padding-top: 0.375em;
}

.event-tags-form .form-actions button {
	width: 100%;
}

/* sidebar list */
.event-tags-form li {
	padding-top: 0.5em;
}


.event-tag {
	display: block;
}

/* Sidebar category checkbox labels */
.event-tags-form .event-tag {
	border: solid rgb(192, 192, 192) 1px;
	-webkit-border-radius: 4px;
	-moz-border-radius:    4px;
	border-radius:         4px;
	padding: 0.2em;
	cursor: pointer;
}

.event-tags-form .event-tag {
	border: 1px solid #efefef;
}

.event-tags-form .event-tag.empty-calendar {
	border: 1px solid #b95613 !important;
	background: rgb(223,121,52,.2) !important;
}

.event-tags-form .event-tag {
	background: none transparent;
	border: 1px solid rgba(0, 0, 0, 0.06);
	padding-left: 26px;
}

.event-tags-form .event-tag.checked {
	border: 1px solid transparent;
	color: #333;
}

.mobile .event-tags-form .event-tag {
	padding-top: .4em;
	padding-bottom: .4em;
	border: 1px solid #777;
}

.mobile .event-tags-form .event-tag .empty-calendar {
	border: 1px solid #b95613 !important;
	background: rgb(223,121,52,.2) !important;
}

.event-tags-form .event-tag.checked {
	opacity: 1;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile .event-tags-form .event-tag.checked {
	border: 1px solid transparent;
}

.event-tag-list {
	display: inline;
}

.event-tag-list .event-tag, .day-event-info .event-tag  {
	display: inline-block;
    zoom: 1;
	*display: inline;
	-webkit-border-radius: 3px;
	-moz-border-radius:    3px;
	border-radius:         3px;

	font-size: 0.78em;
	line-height: 1;
    min-height: 1em;
    *height: 1em;
    vertical-align: baseline;
    padding: 0.25em 0.375em;
    margin: 0 0.5em 0 0;
    *padding-left: 0.5em;
}

/* events/list.ftl */
#events_list > ul {
	padding: 0;
	margin: 0;
}

#events_list ul.fbList { /* attachment icons */
	padding-left: 1.3em;
}

#events_list {
	list-style: none none;
	padding-right: 1em;
	overflow: hidden; /* this seems to horizontally crop the lines of the list which is desirable */
	flex: 1 1 auto;
}
.pff #events_list {
    overflow: visible;
}

.mobile #events_list {
	padding-right: 0;
}


.event-day {
	padding: 1em 0;
	list-style: none none;
	overflow: hidden;
	border-top: 1px solid #DFDFDF;
	border-top: 1px solid rgba(0,0,0,.15);
}

.event-day.no-border {
	border-top: 0;
}

.event-day.empty {
	padding: 0;
	visibility: hidden;
	*display: none;
	list-style: none;
	overflow: hidden;
	margin: 0;
	line-height: 0;
}

#events_list .day-date-box {
	float: left;
	padding: 0 2.08em 0 1.78em;
	text-align: center;
	width: 50px;
	height: 80px;
}

#events_list .day-date-box span {
	display: block;
}

#events_list .day-date-box .month {
	font-size: 1.1em;
	font-weight: bold;
	text-transform: uppercase;
}

#events_list .day-date-box .date {
	font-size: 2.7em;
	letter-spacing: -.07em;
	font-weight: bold;
	line-height: 1;

}

#events_list .day-date-box .day {
	text-transform: uppercase;
	font-size: 1.1em;
	font-weight: bold;
	padding-top: .1em;
}

#events_list ul .day-event-box {
	/*float: left;*/
	list-style: none;
	/*width: 475px;*/
	margin: 0 0 0 50px;
	padding: 0 0 0 3.78em;
}

.no-events {
	text-align: center;
	font-weight: bold;
	padding-top: 0.5em;
	list-style: none none;
}

.day-event-box .day-event-info {
	padding-top: 1em;
	/*clear: left;*/
}

.day-event-box .day-event-info:first-child {
	padding-top: 0;
}

.event-tag-list .more-tags {
	font-style: oblique;
	cursor: pointer;
	font-size: 0.85em;
	text-decoration: underline;
}

.day-event-info .show-description {
	line-height: 1.85;
	font-size: 0.7em;
}


.event-title-wrap {
	display: block;
}

.event-link {
	font-size: 1.17em;
}

.event-link .show-description {
	background-color: #f0f0f0;
	color: #333;
	padding: 0 .24em .5em .18em;
	position: relative;
	top: .12em;
	left: .2em;
	line-height: .16;
	display: inline-block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;

	font-size: 1.5em;
	font-family: Arial;
	letter-spacing: -.05em;

}

.event-link:hover .show-description {
	background-color: #ddd;
}

.event-tag-list .hidden-tag {
	display: none;
}

.day-event-info .full-description {
	border-left: 2px solid #ddd;
	border-left: 2px solid rgba(0,0,0,.2);
	padding: .4em .6em 0 .83em;
	margin-top: .3em;
}

.mobile .day-event-info .full-description {
	padding-left: .6em;
	padding-right: 11px;
}

.mobile .day-event-info .full-description #event_item_wrapper { /* TODO fix it! */
	padding-left: 0;
	padding-right: 0;
}





/*  Month overlay for events  */
body.showing-overlay {
	overflow: hidden;
}

#show_year_overlay_wrapper {
	display: none;
}

#year_overlay {
	font-family: 'Helvetica Neue';
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	-o-transition: opacity .3s linear;
	-ms-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	-webkit-transition: opacity .3s linear;
	z-index: 2147483641;
	overflow-x: auto;
}

#tag_overlay {
	/* Set sizing */
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing:     border-box;
	box-sizing:         border-box;
	padding: 0.375em 0.75em;

	font-family: 'Helvetica Neue';
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	-o-transition: opacity .3s linear;
	-ms-transition: opacity .3s linear;
	-moz-transition: opacity .3s linear;
	-webkit-transition: opacity .3s linear;
	z-index: 2147483641;
	overflow-x: auto;

	color: #ccc;
}

#year_overlay .month table {
	color: #eee;
	border-spacing: 0;
	border-collapse: collapse;
	margin: 0 auto;
}

#year_overlay .month table td {
	border: 1px solid #eee;
	margin: 0;
	text-align: center;
	width: 3em;
	padding: .6em 0;
}

#year_overlay .month .blank-cell {
	border: 1px solid #666;
	border-bottom: 1px solid #eee;
}

#year_overlay .month table td.last-day-prev-month {
	border-right: 1px solid #eee;
}

#year_overlay .month table td.day-in-next-month {
	border-bottom: 1px solid #666;
}

#year_overlay .month .dots-indicator {
	opacity: 1;
	color: #eee;
	letter-spacing: 0;
}

#year_overlay .month .dots-indicator .dot {
	margin: 0 1px;
}

#year_overlay .month table th {
	font-weight: normal;
	font-size: .83em;
}

#year_overlay .month table caption {
	font-size: 1.3em;
}

#year_overlay #top_contents {
	-o-transform: scale(8);
	-o-transform-origin: 50% -100%;
	-o-transition: all .66s linear;
	-ms-transform: scale(8);
	-ms-transform-origin: 50% -100%;
	-ms-transition: all .66s linear;
	-moz-transform: scale(8);
	-moz-transform-origin: 50% -100%;
	-moz-transition: all .66s linear;
	-webkit-transform: scale(8);
	-webkit-transform-origin: 50% -100%;
	-webkit-transition: all .66s linear;
	transform: scale(8);
	transform-origin: 50% -100%;
	transition: all .66s linear;
	padding-bottom: 1em;
}

#year_overlay #top_contents.beShown {
	-o-transform: scale(1);
	-ms-transform: scale(1);
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
}

#overlay_coverup {
	display: none;
	opacity: 0;
	position: fixed; /* otherwise wrong position when brought up when viewport is already scrolled down */
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000;
	z-index: 2147483640;
}

#events_overview {
	text-align: center;
	padding: 20px 10px;
	padding-top: 60px; /* make space for the X */
}

#overview_close_button {
	cursor: pointer;
	color: #ddd;
	font-size: 3em;
	position: absolute;
	top: 14px;
	right: 16px;
	text-decoration: none;
	border: 1px solid #aaa;
	line-height: 1;
	padding: 0 8px;
	display: block;
}

#overview_close_button .inner {
	position: relative;
	top: -5px;
	top: auto\9;
}

#overview_close_button:hover {
	background-color: #444;
	border-color: #fff;
	color: #fff;
}

#overview_close_button:focus {
	outline: -webkit-focus-ring-color auto 1px;
}

/* header for the categories overlay */
#mobile_tag_header {
	padding-top: 6px;
	line-height: 1;
	padding-bottom: 8px;
}

#mobile_tag_header .title {
	display: block;
	font-weight: bold;
	font-size: 21px;
	line-height: 18px;
	padding-top: 20px;
}


#hide_tag_overlay {
	float: right;
	font-size: 16px;
	height: 38px;
	line-height: 38px;
	padding: 0 25px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	color: #ddd;
	text-decoration: none;
	border: 1px solid #aaa;
	text-transform: uppercase;
}

#hide_tag_overlay:hover {
	background-color: #444;
	border-color: #fff;
	color: #fff;
}

#year_overlay .month {
	height: 300px;
	padding: 10px 10px;
	display: inline-block;
	zoom: 1;
	*display: inline;
	min-width: 24%;
	vertical-align: top;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing:     border-box;
	 box-sizing:        border-box;

	/* <= ie7 doesn't understand border-box */
	*padding-left: 0;
	*padding-right: 0;
}

#year_overlay .month-link {
	display: inline-block;
	zoom: 1;
	*display: inline;
	text-align: center;
	padding: 12px 18px 16px 18px;
}

#year_overlay .month-link:hover {
	cursor: pointer;
	box-shadow: 0 0 12px #2289fe, inset 0 0 12px #2289fe;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.minigrid-cell a, .blank-cell a {
	display: block;
	text-decoration: none;
}

.minigrid-cell a, a:visited, a:link{
	color: #333333;
}

#events_overview .minigrid-cell a,
#events_overview caption a {
	text-decoration: none;
	color: inherit;
}



/*  Calendar top area  */
#calendar_top_options, #calendar_top_options > li {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}

#calendar_top_options {
	float: right;
	margin-right: -5px;
	line-height: 2;
}

#calendar_top_options > li {
	background: url(/apps/pics/events/bullet.png) right center no-repeat;
	padding-right: 10px;
}

#calendar_top_options > li.last {
	padding-right: 0;
	background-image: none;
}

#calendar_top_options > li > a {
	display: inline-block;
	zoom: 1;
	*display: inline;
	padding: 3px 5px;
	text-decoration: underline;
	cursor: pointer;
}



/* Printer Friendly page */
.pff {
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	margin: 0 auto;
}

.pff-column {
    max-width: 640px;
}

.pff .event-tag {
    display: none;
}

.pff .date-heading {
	font-size: 18px;
}

#events_pff_footer, #events_pff_title {
	text-align: center;
}

.pff .category-list, .pff .category-list li {
    font-weight: bold;
    font-size: 1.15em;
    list-style: none none;
    margin: 0;
    padding: 0;
}

.pff .category-list {
    padding-bottom: 1em;
}

.pff .category-list li {
    display: inline;
    *border-left: solid 1px #ccc;
	*padding-left: 0.5em;
	*margin-left: 0.25em;
}

.pff .category-list li:first-child {
	*border-left: none;
	*padding-left: 0;
	*margin-left: 0;
}

.pff .category-list li:before {
    content: ' • ';
}

.pff .category-list li:first-child:before {
    content: '';
}

/* solely for IE 7-8 support */
/*.pff .category-list .last-category:after {
    content: '';
}
*/

.left-link {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	float: left;
	color: #333333;
}

.right-link {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	float: right;
	color: #333333;
}

/*  TODO stolen from our search-app-button, should improve  */
.direction-button {
	width: auto;
	overflow: visible;
	padding: 2px 0.5em;
	*padding: 2px 0.6em;
	line-height: 23px;
	*line-height: 22px;
	height: 24px;
	float: left;
	display: block;
	margin: 0;
	border: 1px solid #aeafb3;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	color: #333 !important;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.75);
	background: #e2e2e2;
	background: #e2e2e2
	-webkit-gradient(linear, 0% 0%, 0% 80%, from(rgba(255,255,255,.8)), to(rgba(255,255,255,0)));
	background: #e2e2e2
	-moz-linear-gradient(
		center bottom,
		rgba(255,255,255,0) 20%,
		rgba(255,255,255,.8) 100%
	);
	font-weight: bold;
	font-size: 14pt !important;
	font-style: normal;
	outline: none;
	text-decoration: none;
}

#calendar_head .direction-button {
	font-family: Arial, sans-serif;
}

.direction-button.direction-left {
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	position: relative;
	z-index: 1;
	padding: 2px .6em 2px .52em;
}

.direction-button.direction-right {
	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	position: relative;
	z-index: 2;
	padding: 2px .52em 2px .6em;
}



/*  Presumes it's butted against something on the left  */
.direction-button-no-left-border {
	border-left: 0;
}


.direction-button-no-left-border:hover {
	border-left: 1px solid red;
	position: relative;
	left: -1px;
	margin-right: -1px;
	z-index: 2;
}


.direction-button::-moz-focus-inner {
	padding: 0 !important;
	border: none;
}

.direction-button:focus {
	outline: auto 3px -webkit-focus-ring-color;
}

#calendar_head .direction-button:hover {
	border-color: #666;
	text-decoration: none;
}

.direction-button:active {
	background: #d0d0d0 none !important;
}

/* A wrapper for event-tag-list that has display: block */
.event-tag-bar .event-tag-list {
	display: block;
    margin-top: .8em;
}

/* Tags in the horizontal bar */
.event-tag-bar a {
	text-decoration: none;
}

/* "select all" and "deselect all" links for categories on index */
.event-tags-form .alter-selection {
	cursor: pointer;
	text-decoration: underline;
	opacity: .73;
	-webkit-font-smoothing: antialiased;
	font-size: .88em;
	margin-top: .1em;
	padding-right: 3px;
}

.event-tags-form .category-modifiers {
	text-align: right;
	display: none;
}

.mobile .event-tags-form .category-modifiers {
	font-size: 1.2em;
	line-height: 1.5;
}

/* view_calendar.ftl */
#view_calendar_wrapper {
	padding: 0 0 1.5em;
	margin: 0;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 9pt;
	color: #333;
}

#view_calendar_wrapper #calendar_head {
    padding: 1em 1.5em;
}

#view_calendar_grid {
    padding: 0.5em 1.5em 0;
}

.pff #view_calendar_grid {
    padding: 0;
}

#view_calendar_grid table {
	border-collapse: collapse;
	width: 100%;
}

/* in the header */
#view_calendar_grid .day-name {
    font-size: 1.3em;
    font-weight: 500;
    padding-bottom: 0.25em;
}

#view_calendar_grid .week:first-child .day {
    border-top: solid 1px #ccc;
}

#view_calendar_grid .week .day:first-child {
    border-left: solid 1px #ccc;
}

#view_calendar_grid .day {
	padding: 0.375em;
	vertical-align: top;
	border-color: #ccc;
	border-style: solid;
    border-width: 0 1px 1px 0;
	width: 14.2%;
	min-width: 10em;
	height: 10em;
}

#calendar_top_options > li > a,
#calendar_head .direction-button,
#view_calendar_grid .day a,
.pff .event-link {
	color: #333 !important;
}

#view_calendar_wrapper #calendar_top_options a:active,
#view_calendar_grid .day a:active,
.pff .event-link:active {
	color: #AAA;
}

#view_calendar_grid .day .events, #view_calendar_grid .day .event {
	list-style: none;
	padding: 0;
	margin: 0;
}

#view_calendar_grid .day .events {
    padding: 0;
    margin: 0;
}

#view_calendar_grid .day .event {
	 padding: 0.5em 0;
}

#view_calendar_grid .day .event:first-child {
	 padding-top: 0.25em;
}

#view_calendar_grid .day .event-title {
    font-size: 1.2em;
    color: #000;
}

.pff .day .event-title {
    font-weight: bold;
    text-decoration: none;
}

/* don't use bold for titles of events in other months */
.pff .extra .event-title {
    font-weight: normal;
}

#view_calendar_grid .day .event-data {
    display: block;
    padding-top: 0.2em;
}

#view_calendar_grid .day-of-month-box {
	float: right;
	padding: 0.125em 0.125em 0.25em 0.375em;
    text-align: right;
}

#view_calendar_grid .day-of-month {
    display: block;
	font-weight: bold;
	font-size: 2em;
    color: #333;
}

#view_calendar_grid .today-stamp {
    display: block;
    font-size: 1em;
    text-transform: uppercase;
    color: #4f4f4f;
    font-weight: normal;
}

#view_calendar_wrapper #calendar_top_options {
	font-size: 1.45em;
	line-height: 1.45em;
}

#view_calendar_grid .today {
/*    background-color: #CCC;*/
/*    background-color: rgba(0, 0, 0, 0.2);*/
/*    border: solid black 1px;*/
	/*border-top: 1px black inset;*/
	/*border-left: 1px black inset;*/
    position: relative;
    background-color: #efefef;

}

#view_calendar_wrapper .date-heading {
    font-size: 2em;
    padding-left: 0.45em;
}

#view_calendar_wrapper .title-heading {
	font-size: 2em;
	margin: 0;
	margin-top: 0.67em;
	position: absolute;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%)
}

#view_calendar_grid .extra .day-inner {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=45)";
	opacity: .45;
	/*background-color: #F0F0F0;*/
	/*background-color: rgba(0, 0, 0, 0.05);*/
}

#view_calendar_wrapper .event-tag {
    vertical-align: text-bottom;
    font-size: 0.94em;
    margin: 0.5em 0.125em 0;
}

/* end view_calendar.ftl */

.mobile #calendar_head {
	background: inherit;
}

.mobile #calendar_head .date-heading {
	/* Center the date */
	float: none;
	text-align: center;
	padding-left: 0;
	font-size: 1.2em;
	height: 48px;
	margin-left: 22px;
	margin-right: 22px;
	border-top: solid 1px #aeafb3;
	border-bottom: solid 1px #aeafb3;

	background: #e2e2e2;
	background: #e2e2e2
	-webkit-gradient(linear, 0% 0%, 0% 80%, from(rgba(255,255,255,.8)), to(rgba(255,255,255,0)));
	background: #e2e2e2
	-moz-linear-gradient(
		center bottom,
		rgba(255,255,255,0) 20%,
		rgba(255,255,255,.8) 100%
	);


}

.mobile #calendar_head .title-heading {
	/* Center the date */
	float: none;
	text-align: center;
	padding-left: 0;
	font-size: 1.2em;
	height: 48px;
	margin-left: 22px;
	margin-right: 22px;
	border-top: solid 1px #aeafb3;
	border-bottom: solid 1px #aeafb3;

	background: #e2e2e2;
	background: #e2e2e2
	-webkit-gradient(linear, 0% 0%, 0% 80%, from(rgba(255,255,255,.8)), to(rgba(255,255,255,0)));
	background: #e2e2e2
	-moz-linear-gradient(
			center bottom,
			rgba(255,255,255,0) 20%,
			rgba(255,255,255,.8) 100%
	);


}

.mobile #calendar_head .direction-right {
	/* Float the direction button right */
	float: right;
}

.mobile #calendar_head #calendar_top_options {
	float: none;
}

.mobile #calendar_head #mobile_categories {
	float: left;
}

.mobile #calendar_head #subscribe_link {
	float: right;
}

.mobile #calendar_top_options > li {
	background: none;
	padding-right: 0;
}

.mobile #calendar_head .direction-button {
	font-size:   1.4em !important;
	line-height: 44px !important;
	height:      44px !important;
	width: 		 22px !important;
}

.mobile #calendar_head #goto_today {
	padding: 3px 0 1px;
	margin-left: 28px;
	margin-right: 28px;
	display: block;
	color: black;
}

.mobile #calendar_head #goto_today_label {
	display: block;
	color: black;
	font-size: 0.72em;
	font-weight: normal;
}

.mobile #calendar_wrapper .event-day {
	border-top: none;
}

.mobile #calendar_wrapper .day-date-box {
	width: 48px;
	padding-left: 0.5em;
	padding-right: 0.25em;
	font-size: 0.85em;
}

.mobile #calendar_wrapper .day-event-box {
	margin-left: 48px;
	padding-left: 1.25em;
	font-size: 0.85em;
}

.mobile .category-modifiers a {
	color: #ccc;
}

.event-tags-form li {
	position: relative;
}

.event-tags-form li input {
	position: absolute;
	top: 12px;
	left: 4px;
}
