/*******************************************************************************/
/* Základ */
/*******************************************************************************/

* {
	margin: 0px;
	padding: 0px;
}

table#Calendar thead {
	background-color: rgb(25, 25, 25);
}

table#Calendar tbody {
	background-color: rgb(50, 50, 50);
}

table#Calendar tr {
	height: 35px;
}

/*---------------------------------------------------------------------------------------*/


/*******************************************************************************/
/* Formátování odkazových buněk */
/*******************************************************************************/


table#Calendar a {
	text-decoration: none;
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	color: rgb(230, 230, 230);
}

table#Calendar th a:hover {
	background-color: rgb(40, 40, 40);
}

table#Calendar th a#activeShift {
	background-color: #00838E;
}

/*---------------------------------------------------------------------------------------*/


/*******************************************************************************/
/* Formátování textových buněk */
/*******************************************************************************/


table#Calendar div {
	display: flex;
	gap: -10px;
	flex-direction: column;
	justify-content: center; 
	align-items: center;
	width: 100%;
	height: 100%;
}

/*---------------------------------------------------------------------------------------*/


/*******************************************************************************/
/* Formátování dolní části tabulky */
/*******************************************************************************/

table#Calendar div.main-cell-container,
table#Calendar div.main-cell-container-public-holiday { /* Přidělání větších mezer mezi buňkami */
	box-sizing: border-box;
	border: solid 4px rgb(50, 50, 50);
}

table#Calendar td#today div.main-cell-container, 
table#Calendar td#today div.main-cell-containe-public-holiday { /* Označení buňky reprezentující dnešní den */
	border: solid 4px #00838e;
}

table#Calendar div.top-cell-container { /* Horní část buňky (ikona slunce či měsíce) */
	display: flex;
	justify-content: center; 
	align-items: center;
	max-width: 100%;
	max-height: 50%;
	overflow: hidden;
}

table#Calendar div.mid-cell-container { /* Dolní část buňky (číslo dne) */
	display: flex;
	justify-content: center; 
	align-items: center;
	width: 100%;
	height: 50%;
}

table#Calendar img { /* Formátování ikon slunce a měsíce */
	width: 20px;
	height: 20px;
}

table#Calendar div.main-cell-container-public-holiday { /* Formátování dnů označených jako státní svátky */
	background-color: #D32F2E;
}

/*---------------------------------------------------------------------------------------*/