.calendar .table {
    display: flex;
    margin: 0 0 20px;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
.calendar .table caption {
	padding: 20px;
	text-align: center;
	margin: 0 auto;
}
.calendar table {
	width: 100%;
	margin: 20px 0 0;
	vertical-align: top;
}
table td, table th {
	padding: 10px;
	width: calc(calc(100% - 10px) / 7);
	vertical-align: top;
}
.calendar tbody {
	background: var(--color-bg);
	vertical-align: top;
	padding: 10px;
	border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -khtml-border-radius: var(--border-radius);
}
.calendar a {
	color: red;
	font-weight: 600;
}
.calendar a:hover {
	text-decoration: underline;
}
.years a {
	display: inline-block;
	padding: 10px;
}
.years a.active {
	font-weight: bold;
}
.years {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 40px;
}
.calendar-links {
	display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
.calendar-links li {
	display: block;
	list-style: none;
	border: var(--border-color) 1px solid;
	border-radius: var(--border-radius);
    -moz-border-radius: var(--border-radius);
    -webkit-border-radius: var(--border-radius);
    -khtml-border-radius: var(--border-radius);
    margin: 0 0 20px;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
}
.calendar-links li a {
	display: block;
	padding: 20px;
}
.calendar-links ul li:before {
	display: inline-block;
	width:20px;
	height: 10px;
	content: '—';
	color: red;
	margin: 0 10px;
}

.archive-calendar {
    display: flex;
    flex-wrap: wrap;
	justify-content: center;
    width: 100%;
}

.archive-calendar .block-free {
    width: calc(33.333% - 20px);
    margin: 0 10px 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 992px) {
    .archive-calendar .block-free {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 767px) {
    .archive-calendar .block-free {
        width: 100%;
    }
}

.title {
    margin: 20px 0;
}