.solarperf_form_row {
	display: flex;
	align-items: baseline;
	margin: 10px 0;
}

.solarperf_form_row .solarperf_form_input_wrapper > input,
.solarperf_form_row .solarperf_form_input_wrapper > select {
	width: auto;
	min-width: 9em;
	padding: 5px;
	color: #404040;
}

.solarperf_hint {
	font-size: 85%;
}

.solarperf_form_row > label {
	font-weight: bold;
	min-width: 10em;
	text-align: right;
	padding-right: 15px;
}

.solarperf_validation_message {
	color: #f9b233;
	display: block;
	font-size: 90%;
}

@media (max-width: 400px) {
	.solarperf_form_row {
		display: block;
	}
	.solarperf_form_row > label{
		display: block;
		text-align: left;
	}
}


.solarperf_graph_selection {
	display: block;
	margin: 1em 0;
}

.solarperf_graph_selection label {
	font-weight: bold;
	cursor: pointer;
}
.solarperf_graph_selection input[type="text"],
.solarperf_graph_selection select {
	width: auto;
	padding: 5px;
	color: #404040;
}

.solarperf_graph_selection input[type="radio"] {
	margin: 0;
}
.solarperf_graph_selection input[type="radio"]:not(:first-child){
	margin-left: 10px;
}

.solarperf_graph_selection button {
	margin-top: 0.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

.solarperf_graph_selection .solarperf_graph_sub_selection {
	display: none;
	margin-top: 0.5em;
}
.solarperf_graph_selection input[name="solarperf_graph_display_type"][value="month"]:checked ~ .solarperf_graph_sub_selection[data-solarperf_graph_type="month"] {
	display: block;
}
.solarperf_graph_selection input[name="solarperf_graph_display_type"][value="year"]:checked ~ .solarperf_graph_sub_selection[data-solarperf_graph_type="year"] {
	display: block;
}
.solarperf_graph_selection input[name="solarperf_graph_display_type"][value="collector"]:checked ~ .solarperf_graph_sub_selection[data-solarperf_graph_type="collector"] {
	display: block;
}

.solarperf_graph {
	cursor: zoom-in;
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0);
	transition: background-color 500ms;
}

.solarperf_graph.fullscreen {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	padding: 50px 10px;
	flex-wrap: wrap;
	cursor: zoom-out;
	overflow-y: auto;
}

.solarperf_graph.fullscreen > img {
	flex-shrink: 0;
	flex-grow: 0;
	margin: 5px 0;
}
.solarperf_graph > img:not(:first-child) {
	margin-left: 5px;
}
