/**************************************************** Menu *******************************************/
.report-menu {
	font-size: 1.2rem;
	padding: 0 0 1rem;
	margin-bottom: 1rem;
	justify-content: space-between;
	box-sizing: border-box;
	gap: 1rem;

	margin: 2rem auto 1rem;
    margin-bottom: 1rem;
 	padding: 0 1.5rem;
}

.report-menu > div {
	padding: 0.75rem;
	flex-grow: 1;
	box-shadow: 0 0 0.25rem #999;
	position: relative;
	background-color: #ffffffdd;
}

.report-menu > div > * {
	margin-bottom: 0.5rem;
}

.report-menu > div.radio_lista > div {
	margin-bottom: 0.1rem;
}

.report-menu .mala-sekcja {
	font-size: 1rem;
} 

.report-menu button.wyczysc {
	/* font-size: 1rem; */
	width: 2rem;
	padding: 0.25rem;
	/* margin: 0.25rem 0; */
} 

.report-menu input[type=text] {
	width: 20rem;
	font-size: 1.2rem;
}

.report-menu #stats span {
	margin: 0.25rem 0;
	display: inline-block;
}

.report-menu #loadtime {
	font-size: 0.8rem;
}

.report-menu input[type=date] {
	min-width: 7rem;
	max-width: 9rem;
}

.report-menu button.zmien_date {
	width: 3.2rem;
	padding: 0.2rem;
	background-color: white;
	color: #333;
	font-size: 1rem;
	font-weight: bold;
}

.report-menu span#roznica_dni {
	min-width: 2.5rem;
	display: inline-block;
	text-align: center;
}

.report-menu #wykres {
	position: absolute;
	right: 0.5rem;
	bottom: 0;
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
}

.report-menu #wykres.wcisniety {
	background-color: #ddd;
}

.report-menu #wykres:hover {
	border-color: #333;
}

.report-menu #wykres img {
	width: 3rem;
}

/****************************************** Przyciski **********************************/
.report-buttons button.ukryty {
	opacity: 0.25;
}

/****************************************** Ukrywanie radiobuttonów **********************************/
@media screen and (max-width: 512px) {
	.report-menu > div {
		width: 100%;
	}

	.report-menu > div.zwijane:not(.pokaz) > span {
		margin-bottom: 0;
	}

	.report-menu > div.zwijane:not(.pokaz) > span:after {
		content: " ▼";
	}

	.report-menu > div.zwijane:not(.pokaz) > div {
		display: none;
	}
}

/***************************************** Tabelka *********************************************/
.report-data.table_wrapper {
	overflow: auto;
	margin: 2rem 0;
	height: min(48rem,80vh);
	border: 1px solid #ccc;
}

@media screen and (min-width: 901px) {
	.report-data.table_wrapper {
		margin: 2rem 1rem;
	}
}

.report-data table {
	width: 100%;
	border-collapse: collapse; 
	box-sizing: border-box;
}

.report-data table thead {
	position: sticky;
	top: 0;
}

.report-data table thead td {
	background-color: var(--maincolor);
	color: white;
	border: none;
	filter: drop-shadow(0px 0px 1px #fff);
}

.report-data table tbody td {
	background-color: white;
}

.report-menu tbody button {
	font-size: 1rem;
	padding: 0.1rem;
	margin: 0;
} 

.report-data table td {
	text-align: left;
	border: 1px solid var(--maincolor);
	padding: 0.5rem 1rem;
	/* white-space: break-spaces; */
	white-space: nowrap;
	overflow: hidden;
}

.report-data table td.liczba {
	text-align: right;
}

.report-data table td.bold {
	font-weight: bold;
}

/**************************************** Grupa ****************************************/
.report-data table thead tr.grupa td {
	text-transform: uppercase;
	/* text-align: center; */
}

/********************************** Filtr w nagłowku ****************************************/
.report-data table thead tr.filtr td {
	padding: 0 0.5rem;
}

.report-data table thead tr.filtr td input {
	font-size: 1rem;
	margin: 0;
	min-width: 2rem;
	width: calc(100% - 2.5rem);
	padding: 0.1rem 0.5em;
}

.report-data table thead tr.filtr td button {
	font-size: 1rem;
	width: 1.25rem;
	padding: 0.1rem;
	margin: 0.25rem 0;
}


/**********************************************************************************************************/
/***************************************** Wybór lokalizacji ****************************************/
@media screen and (min-width: 901px) {
	#raporty .report-menu {
		display: grid;
		grid-template-columns: 4fr 3fr 6fr 10fr;
	}
}

#raporty .report-menu select {
	width: 100%;
	background-color: #fff;
}

#raporty .report-menu #opis-placowki {
	min-height: 5rem;
}

/***************************************** Wyniki ****************************************/
#raporty #wyniki-info {
	margin-bottom: -1.5rem;
	font-size: 1.2rem;
}