body {
    font-family: Helvetica, Arial;
    font-size: .9em;
	margin: 0;
	padding: 16px;
	color: var(--tg-theme-text-color, #FFFFFF);
	background: var(--tg-theme-bg-color, #000000);
	height: 100vh;
	display: flex;
	flex-direction: column;
}
div#calendar {
    background: linear-gradient(140deg, #00BCD4, #f35cc4);
    color: #FFF;
    font-weight: 700;
}
#calendar {
	flex: 1;
	margin: 0 auto;
	max-width: 600px;
	width: 100%;
}
.completed-todo {
	text-decoration: line-through;
	opacity: 0.7;
}
.fc-list-day-cushion {
	background-color: var(--tg-theme-secondary-bg-color, #f0f0f0) !important;
}
.fc-list-event {
	cursor: pointer;
}
/* Hide time column in list view */
.fc-list-event-time {
	display: none !important;
}
.todo-complete, .todo-delete {
	border: none;
	background: none;
	cursor: pointer;
	padding: 0 4px;
	font-size: 14px;
	opacity: 0.8;
	transition: opacity 0.2s;
}
.todo-complete:hover, .todo-delete:hover {
	opacity: 1;
}
.fc-list-event-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.fc-list-event-title a {
	flex: 1;
}
.todo-complete, .todo-delete {
	cursor: pointer;
    margin-left: 4px;
    font-size: 1.4em;
}
/* H2 titles */
.fc .fc-toolbar-title {
    font-size: 1.1em;
    margin: 0;
}
/* Header buttons */
.fc-direction-ltr .fc-toolbar>*>:not(:first-child) {
    margin-left: 0em;
}
.fc .fc-button {
    padding: 0.5em .35em;
}
button.fc-назад-button {
    background: linear-gradient(45deg, #8fdf82, transparent) !important;
}
/* EOF */
th.fc-col-header-cell.fc-day {
    word-break: break-word;
}
.fc-list-day-cushion {
    background: #333 !important;
}
.fc .fc-list-event:hover td {
    background: rgba(0, 0, 0, 0.12549) !important;
}
.fc .fc-list-event-dot {
    border: calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, rgba(0, 0, 0, .25));
    margin-top: 9px;
}
.fc .fc-daygrid-day.fc-day-today {
    background-color: rgb(255, 152, 0);
    background-color: var(--fc-today-bg-color, #ff9800);
}
thead {
    background: #333;
}
td.fc-daygrid-day {
    position: relative;
}
.todo-dashes {
    margin: 0 0 12px 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}
.todo-dash {
    font-size: 1.4em;
    line-height: .5em;
}
#calendar .todo-count-badge {
    background-color: #FFFFFF;
    color: #3390ec;
    padding: 2px 3px;
    font-size: 12px;
    position: absolute;
    right: 5px;
    bottom: 5px;
}
.fc-day:hover {
    cursor: pointer;
    background-color: rgba(0,0,0,0.1);
}
/* Adjust for mobile */
@media (max-width: 768px) {
	body {
		padding: 0px;
	}
}