.cte-widget {
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
	border: 2px solid #c10230;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.35;
}

.cte-header {
	display: grid;
	grid-template-columns: 38px 1fr 38px;
	align-items: center;
	min-height: 52px;
	background: #eeeeee;
	border-radius: 6px 6px 0 0;
}

.cte-nav {
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 6px 4px;
	color: #333;
}

.cte-nav:hover,
.cte-nav:focus {
	color: #c10230;
	outline: none;
}

.cte-date {
	text-align: center;
	font-weight: 600;
	white-space: nowrap;
}

.cte-events-wrap {
	background: #fff;
	padding: 10px 12px;
	min-height: 155px;
	box-sizing: border-box;
}

.cte-events {
	margin: 0;
	padding: 0 0 0 22px;
}

.cte-events-wrap.cte-scroll .cte-events {
	max-height: 145px;
	overflow-y: auto;
	padding-right: 8px;
}

.cte-events li {
	margin: 0 0 9px;
	padding-left: 2px;
	cursor: default;
}

.cte-event-title {
	font-weight: 500;
}

.cte-event-time {
	font-weight: 700;
	margin-right: 5px;
	white-space: nowrap;
}

.cte-event.has-description {
	cursor: help;
}

.cte-description {
	display: none;
	position: absolute;
	z-index: 1000;
	max-width: 260px;
	padding: 9px 11px;
	border: 1px solid #c10230;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0,0,0,.18);
	font-size: 13px;
	font-weight: 400;
	white-space: pre-line;
}

.cte-event.has-description:hover .cte-description {
	display: block;
}

.cte-status {
	list-style: none;
	margin-left: -22px !important;
	color: #555;
}

.cte-footer {
	display: block;
	padding: 11px 10px;
	background: #eeeeee;
	color: #333;
	text-align: center;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 0 6px 6px;
}

.cte-footer:hover,
.cte-footer:focus {
	color: #c10230;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.cte-widget {
		max-width: none;
	}
	.cte-description {
		position: static;
		margin-top: 6px;
	}
	.cte-event.has-description:hover .cte-description {
		display: none;
	}
	.cte-event.has-description.cte-open .cte-description {
		display: block;
	}
}
