:root {
	--fwk-cal-date-font-size: 13px;
	--fwk-cal-date-box-size: 22px;
	--fwk-cal-border-color: #606060;
	--fwk-cal-border-light-color: #60606080;
	--fwk-cal-border-over-color: #600000f0;
	/* colors */
	--fwk-cal-color-blue: #8fd2e9;
	--fwk-cal-color-light-blue: #8fd2e980;
	--fwk-cal-color-green: #79eb79;
	--fwk-cal-color-light-green: #79eb7980;
	--fwk-cal-color-red: #fca5b2;
	--fwk-cal-color-light-red: #fca5b280;
	--fwk-cal-color-orange: #f5ae6d;
	--fwk-cal-color-light-orange: #f5ae6d80;
	--fwk-cal-color-none: transparent;
	--fwk-cal-color-light-none: transparent;
}

.tcgs-calendar-container {
	display: flex;
	flex-direction: column;
	row-gap: 30px;
}

.tcgs-calendar {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 30px;
	row-gap: 30px;
}

.tcgs-calendar span {
	display: block;
}

.tcgs-calendar-month {
	display: flex;
	flex-direction: column;
	font-size: var(--fwk-cal-date-font-size);
	line-height: 1em;
	width: auto;
}

.tcgs-calendar-month-name {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	font-weight: 600;
	padding-left: calc(var(--fwk-cal-date-box-size) + 1px);
	height: var(--fwk-cal-date-box-size);
}

.tcgs-calendar-dates,
.tcgs-calendar-week-group {
	display: flex;
	flex-direction: row;
}

.tcgs-calendar-week,
.tcgs-calendar-week-first,
.tcgs-calendar-week-last,
.tcgs-calendar-week-name {
	display: flex;
	flex-direction: column;
}

.tcgs-calendar-day-name,
.tcgs-calendar-day,
.tcgs-calendar-day-out,
.tcgs-calendar-day-empty {
	position: relative;
	box-sizing: content-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: var(--fwk-cal-date-box-size);
	min-width: var(--fwk-cal-date-box-size);
	height: var(--fwk-cal-date-box-size);
	min-height: var(--fwk-cal-date-box-size);
}

.tcgs-calendar-today {
	position: absolute;
	box-sizing: content-box;
	top: -3px;
	left: -3px;
	border: 3px solid var(--fwk-cal-border-over-color);
	border-radius: 50%;
	height: var(--fwk-cal-date-box-size);
	width: var(--fwk-cal-date-box-size);
	z-index: 1000;
}

.tcgs-calendar-day-name {
	font-weight: 300;
	justify-content: flex-start;
}

.tcgs-calendar-day-out {
	font-style: italic;
	font-weight: 300;
	color: var(--fwk-cal-border-color);
	font-size: 0.7rem;
}

.tcgs-calendar-week .tcgs-calendar-day,
.tcgs-calendar-week-first .tcgs-calendar-day {
	border-top: 1px solid var(--fwk-cal-border-color);
	border-left: 1px solid var(--fwk-cal-border-color);
}

.tcgs-calendar-week-last .tcgs-calendar-day {
	border-bottom: 1px solid var(--fwk-cal-border-color);
	border-right: 1px solid var(--fwk-cal-border-color);
}

.tcgs-calendar-week .tcgs-calendar-day:last-child,
.tcgs-calendar-week-first .tcgs-calendar-day:last-child {
	border-bottom: 1px solid var(--fwk-cal-border-color);
}

.tcgs-calendar-week:last-child .tcgs-calendar-day {
	border-right: 1px solid var(--fwk-cal-border-color);
}

.tcgs-calendar-week-last .tcgs-calendar-day:first-child {
	border-top: 1px solid var(--fwk-cal-border-color);
}

.tcgs-calendar-week-first .tcgs-calendar-day-out {
	border-top: 1px solid var(--fwk-cal-border-light-color);
	border-left: 1px solid var(--fwk-cal-border-light-color);
}

.tcgs-calendar-week-last .tcgs-calendar-day-out {
	border-bottom: 1px solid var(--fwk-cal-border-light-color);
	border-right: 1px solid var(--fwk-cal-border-light-color);
}

.tcgs-calendar-week-name .tcgs-calendar-day-name,
.tcgs-calendar-week-first .tcgs-calendar-day-empty {
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
}

.tcgs-calendar-week-last .tcgs-calendar-day-empty {
	border-bottom: 1px solid transparent;
	border-right: 1px solid transparent;
}

.tcgs-calendar-legend {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	row-gap: 5px;
}

.tcgs-calendar-legend-row {
	display: flex;
	flex-direction: row;
	column-gap: 5px;
	font-size: var(--fwk-cal-date-font-size);
	line-height: 1em;
	width: auto;
	align-items: center;
}

.tcgs-calendar-legend-color {
	box-sizing: content-box;
	display: flex;
	justify-content: center;
	align-items: center;
	width: var(--fwk-cal-date-box-size);
	min-width: var(--fwk-cal-date-box-size);
	height: var(--fwk-cal-date-box-size);
	min-height: var(--fwk-cal-date-box-size);
	border: 1px solid var(--fwk-cal-border-color);
}