* {
	margin: 0;
    padding: 0;
	box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}


.title {
	width: 100%;
	background-color: #fff;
	color: #000;
	text-align: center;
	padding: 6px;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 2px;
}


.menu {
	width: 100%;
	background-color: #454545;
	color: #ffffff;
	font-size: 14px;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 2px;

	
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 0;
}

.menu a {
	text-decoration: none;
	color: #ffffff;
	font-variant: small-caps;
	font-weight: bold;
	letter-spacing: 2px;
}

.mamaija, .szkolki {
	padding: 5px;
	flex-grow: 1;
	text-align: center;
}

.mamaija div, .szkolki div {
	display: inline-block;
	border: solid 1px #b7b7b7;
	border-radius: 15px;
	padding: 5px 10px;
}

.rotate {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	padding: 6px;
	flex-grow: 0;
}

.rotate img {
	height: 30px;
	filter: invert(1);
}

.legend {
	margin-top: 10px;
	margin-bottom: 20px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: baseline;
	gap: 20px 10px;
}

.course_s1_l, .course_s2_l, .break_l, .course_l, .course_n_l {
	width: 34px;
	height: 30px;
	border: 1px solid #CCCCCC;
}

.center_l {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 3px;
}

.course_l {
	background-color: #6b966b;
}

.course_n_l {
	background-color: #008000;
}

.course_s1_l {
	background-color: #FFFF00;
}

.course_s2_l {
	background-color: #008000;
}
.break_l {
	background-color: #FF0000;
}


.legend_nr {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}


.course_s1_nr {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 45px;
	height: 40px;
	padding-top: 2px;
	padding-right: 3px;
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: #FFFF00;
	color: #008000;
	font-weight: bold;
	position: relative;
}

.course_s1_nr:hover {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 45px;
	height: 40px;
	padding-top: 2px;
	padding-right: 3px;
	font-size: 12px;
	border: 1px solid #CCCCCC;
	background-color: #008000;
	color: #FFFF00;
	font-weight: bold;
	position: relative;
}


.nrczs1_nr {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 21px;
	height: 21px;
	align-self: flex-end;
	font-size: 10px;
	margin-bottom: 3px;
	margin-left: 3px;
	border-radius: 50%;
	color: #ffffff;
	background-color: #d56a00;

}

.nrm {
	align-self: flex-start;
	text-align: left;
	padding-left: 7px;
}
.nrz {
	padding-right: 7px;
	padding-bottom: 2px;
}

.dolar_l {
	font-size: 16px;
	font-weight: bold;
	position: absolute;
	bottom: 3px;
	right: 4px;
	text-shadow: -1px 1px 0px rgba(0, 0, 0, 0.8);
}


.course_s1_nr .dolar_l {
	text-shadow: -1px 1px 0px rgba(0, 0, 0, 0.8);
}




.monthsflex {
	margin-bottom: 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	align-content: normal;
	gap: 20px;
}



.month {
	grid-area: month;
	justify-self: center;
	align-self: center;
	font-weight: bold;
}

.monthgrid_poziom {
	justify-items: center;
	align-items: center;
	gap: 2px 2px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-areas:
	"month month month month month month month"
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . .";
}

.monthgrid_pion {
	justify-items: center;
	align-items: center;
	gap: 2px 2px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	grid-template-areas:
	"month month month month month month month"
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . ."
	". . . . . . .";
}




.dofw, .empty, .dofm, .break, .course_s1, .course_s2, .course, .course_n {
	width: 49px;
	height: 43px;
	padding-top: 2px;
	padding-right: 3px;
}

.dofw {
	width: 49px;
	height: 43px;
}


.dofw, .empty {
	border: none;
}

.dofm, .break, .course_s1, .course_s2, .course, .course_n {
	border: 1px solid #CCCCCC;
}

.dofw {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	background-color: none;
	color: black;
}

.empty {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	font-size: 14px;
	background-color: none;
	color: black;
}

.dofm {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	font-size: 14px;
	background-color: none;
	color: black;
	
}

.break {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	font-size: 14px;
	background-color: red;
	color: yellow;
	font-weight: bold;
}

.course {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	font-size: 14px;
	background-color: #6b966b;
	color: #FFFF00;
	font-weight: bold;
}

.course_n {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	font-size: 14px;
	background-color: #008000;
	color: #FFFF00;
	font-weight: bold;
}

.course_s1 {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	font-size: 14px;
	background-color: #FFFF00;
	color: #008000;
	font-weight: bold;
	position: relative;
}

.course_s2 {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	font-size: 14px;
	background-color: #008000;
	color: #FFFF00;
	font-weight: bold;
	position: relative;
}









.nrpns1, .nrwts1, .nrsrs1, .nrczs1, .nrpts1, .nrpns2, .nrwts2, .nrsrs2, .nrczs2, .nrpts2 {
	width: 23px;
	height: 23px;
	font-size: 13px;
	margin-bottom: 3px;
	margin-left: 3px;
	border-radius: 50%;
}

.nrpns1 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #552b00;
}

.nrwts1 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #804000;
}

.nrsrs1 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #aa5500;
}

.nrczs1 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #d56a00;
}

.nrpts1 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #ff8000;
}

.nrpns2 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #552b00;
}

.nrwts2 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #804000;
}

.nrsrs2 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #aa5500;
}

.nrczs2 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #d56a00;
}

.nrpts2 {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: flex-end;
	color: #ffffff;
	background-color: #ff8000;
}


.dolar {
	font-size: 19px;
	font-weight: bold;
	position: absolute;
	bottom: 2px;
	right: 4px;

}


.course_s1 .dolar, .course_s1_nr .dolar_l {
	text-shadow: -1px 1px 0px rgba(0, 0, 0, 0.8);
}

.course_s2 .dolar {
	text-shadow: -2px 2px 0px rgba(0, 0, 0, 0.8);
}

.sel {
	color: yellow;
}


.wrapper {
	width: 90%;
	margin: auto;

}
.freeweekend {
	color: red;
	font-weight: bold;
	border: 2px dotted black;
	margin: 0.5em auto;
	text-align: center;
	padding: 0.5em 0.8em;
	width: fit-content;
}





@media (min-width: 1024px) 
{




.legend {
	justify-content: center;
	gap: 40px;
}


.mamaija {
	text-align: right;
}
.szkolki {
	text-align: left;
}

.mamaija_button {
	text-align: center;
	margin: 0 100px;
}

.mamaija_button:hover {
	background-color: black;
}

.szkolki_button {
	text-align: center;
	margin: 0 100px;

}

.szkolki_button:hover {
	background-color: #8c8c8c;
}


.dofw, .empty, .dofm, .break, .course_s1, .course_s2, .course, .course_n {
	width: 53px;
	height: 47px;
	padding-top: 3px;
	padding-right: 6px;
}

.dofw {
	width: 53px;
	height: 47px;
}

.nrpns1, .nrwts1, .nrsrs1, .nrczs1, .nrpts1, .nrpns2, .nrwts2, .nrsrs2, .nrczs2, .nrpts2 {
	width: 24px;
	height: 24px;
	font-size: 14px;
	margin-bottom: 4px;
	margin-left: 4px;
	border-radius: 50%;
}

.dolar {
	font-size: 20px;
	font-weight: bold;
	position: absolute;
	bottom: 2px;
	right: 6px;

}
}