.calendario-container,
.horario-container{
	min-width: 1050px;
}
ol.calendario {
	--calendario-border-color:#dee2e6;
	--calendario-ocupado-color:#ffc107;
	--calendario-ocupado-color:#ffeebc;
	--calendario-back-hover-color:#faa73c;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	list-style: none;
	padding: 0;
	width: 100%;
	border: 1px solid var(--calendario-border-color);
	border-radius: 10px;
	font-family: monospace;
}
ol.calendario.dias .day-name:first-child{
	border-top-left-radius: 10px;
}
ol.calendario.dias .day-name:nth-child(7){
	border-top-right-radius: 10px;
}


ol.calendario.meses{
	grid-template-columns: repeat(4, 1fr);
}
ol.calendario li {
	text-align: right;
	width: 1fr;
}
ol.calendario li:not(.day-name){
	padding-right: 5px;
	aspect-ratio: 1;
	min-width: 0;
	min-height: 0;
	transition: .2s all;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: relative;
}

ol.calendario li{
	border-bottom: 1px solid var(--calendario-border-color);
	border-right: 1px solid var(--calendario-border-color);
}

ol.calendario:not(.meses) li:nth-child(7n+7),
ol.calendario.meses li:nth-child(4n+4){
	border-right: none;
}
ol.calendario:not(.meses) li:nth-last-child(-n+7),
ol.calendario.meses li:nth-last-child(-n+4){
	border-bottom: none;
}
ol.calendario li.ocupado{
	background-color: var(--calendario-ocupado-color);
}
.day-num{
	padding-right: 5px;
	transition: .2s padding-right;
}
ol.calendario li:not(.day-name):not(:empty):hover{
	cursor: pointer;
}
ol.calendario li:not(.day-name):not(:empty):hover .day-num{
	padding-right: calc(50% - .5rem); 
	padding-left: 5px;
}

ol.calendario li:not(.day-name):not(:empty):not(.ocupado):hover{
	background-color: var(--calendario-back-hover-color);
	color: white;
}
ol.calendario li.day-name{
	text-align: center;
}
ol.calendario{
	box-shadow: 0 4px 0.625rem -0.3125rem  black;
}

ol.calendario li:not(.day-name){
	display: flex;
	flex-direction: column;
}
ol.calendario .day-info{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
ol.calendario.meses li{
	padding-top: 1rem;
	padding-bottom: 1rem;
	aspect-ratio:0 !important;
}
.horario tbody th,
.horario tbody td
{
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*.horario tbody tr.selected ~ tr,*/
.selected{
	color: #f00;
}
.reservado{
	transition: .1s box-shadow;
	background-color: #ffeebc !important;
	background-color: #faa73c !important;
	box-shadow: 0px 20px 10px 0px rgb(202 134 46) inset !important;
}
.reservado:hover{
	box-shadow: 0px -20px 10px 0px rgb(202 134 46) inset !important;
}

.reservado.sin-confirmar{
	background-color: #ffeebc !important;
	box-shadow: none !important;
}
.reservado.sin-confirmar:hover{
	box-shadow: none !important;
}
/*
.month.active ~ .month,
.active {
  color: #f00;
}
.month.active ~ .month.active ~ .month {
  color: initial;
}
 */