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

/* * {
	border-style: solid;
	border-width: 1px;
	padding: 1px;
}  */

.wrapper::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('/bgimPellon.png') no-repeat center center;
	background-size: 50% auto;
	opacity: 0.05;
	z-index: -1;
}

body {
	display: flex;
	justify-content: center;
	width: 100vw;
	background-color: #f7f7f7;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	overflow-x: hidden;

	/* background: rgba(255, 255, 255, 0.90) url('/bgimPellon.png') no-repeat center center fixed;  */
}

.vertical {
	flex-direction: row;
}

.horizontical {
	flex-direction: column;
}

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.content {
	flex: 1;
}

h3 {
	margin-top: 10px;
	font-size: 20px;
	color: #333;
}
	
h1 {
	margin-top: 20px;
	font-size: 28px;
	color: #555;
}

button {
	font-weight: bold;
	background-color: #005292;
	color: #fff;
	padding: 0px 10px;
	border-radius: 6px;
	transition: background-color 0.2s ease-in-out;
}

button:hover {
	background-color: #1474bd;
}

.options-group {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin: 0px;
}

.option {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.option a {
    display: block;
    width: auto;
}

input, select, button {
	font-family: inherit;
  	font-size: inherit;
	height: 35px;
	min-width: 150px;
	border: 1px solid #ccc;
	border-radius: 3px;
	text-align: center;
}

input:focus, select:focus, option:focus {
	border-color: #005292;
	outline: none;
}

label {
	display: flex;
	height: 30px;
	align-items: center;
}

input[type="checkbox"] {
	min-width: 0px;
	width: 20px;
}

.mainContent {
    width: 100%;
	display: flex;
    flex-direction: column;
	align-items: center;
	padding: 10px;
	gap: 15px;
}

@media (max-width: 600px) {
	.option {
		width: 100%;
		justify-content: space-between;
		gap: 5px;
	}

	.option a {
		width: 100%;
	}

	input, select, button {
		height: 40px;
		width: 100%;
	}

	input[type="checkbox"] {
		width: 35px;
	}

	.wrapper::before {
		background-size: 80% auto;
	}
}

input.short {
	min-width: 75px;
	width: 100px;
}

input.shorter {
	min-width: 30px;
	width: 50px;
}

.option label {
	font-weight: bold;
}

.scrollable {
	overflow-x: auto;
}

.hide {
	display: none;
}

.border {
	border: 2px solid gray;
}

.fullWidth {
	width: 100%;
}

/* Perustyyli taulukolle */
.data-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	/* border-radius: 12px; */
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	background-color: #ffffff;
	table-layout: auto;
}

/* Toinen otsikkorivi */
.tableTitle {
	background-color: #005292;
	color: #ffffff;
	padding: 10px 0px;
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}

/* Otsikkorivi */
.data-table thead {
	background-color: #005292;
}

.data-table th {
	padding: 10px 10px;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
	border-bottom: 2px solid #ccc;
	white-space: nowrap;
}

/* Solujen tyyli */
.data-table td {
	padding: 5px 4px;
	text-align: center;
	border-bottom: 1px solid #eee;
	color: #444;
	white-space: nowrap;
}

/* Vaihtoehtoiset rivivärit */
.data-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.data-table tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

/* Hover-efekti */
.data-table tbody tr:hover {
	background-color: #dceffd;
	cursor: pointer;
}

