.roi-form label {
	display: block;
	font-size: 1.16rem;
	line-height: 1.2;
}

.roi-fieldset > .row {
	margin-left: -35px;
	margin-right: -35px;
	margin-bottom: 100px;
}

.roi-fieldset > .row:last-child {
	margin-bottom: 50px;
}

.roi-fieldset > .row > div {
	padding-left: 35px;
	padding-right: 35px;
}

.roi-halfwidth-input.row {
	margin-left: -15px;
	margin-right: -15px;
}

.roi-halfwidth-input.row > div {
	padding-left: 15px;
	padding-right: 15px;
}

.roi-form input {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border: none;
	outline: none;
	background: none;
	width: 100%;
}

.roi-form input[type=range] {
	background: none;
	margin-bottom: 7px;
	position: relative;
}

.roi-form input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 21px;
	margin-top: -7px;
	background: #000;
	border-radius: 50%;
	-webkit-box-shadow: 3px 3px 6px rgba(0,0,0,0.32);
	box-shadow: 3px 3px 6px rgba(0,0,0,0.32);
	position: relative;
	z-index: 1;
}

.roi-form input[type=range]::-moz-range-thumb {
	-moz-appearance: none;
	appearance: none;
	width: 22px;
	height: 21px;
	background: #000;
	border-radius: 50%;
	-moz-box-shadow: 3px 3px 6px rgba(0,0,0,0.32);
	box-shadow: 3px 3px 6px rgba(0,0,0,0.32);
	position: relative;
	z-index: 1;
}

.roi-form input[type=range]::-ms-thumb {
	appearance: none;
	width: 22px;
	height: 21px;
	background: #000;
	border-radius: 50%;
	box-shadow: 3px 3px 6px rgba(0,0,0,0.32);
	position: relative;
	z-index: 1;
}

.roi-form input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	background: #e6e6e6;
	border-radius: 3.5px;
	height: 7px;
}

.roi-form input[type=range]::-moz-range-track {
	width: 100%;
	background: #e6e6e6;
	border-radius: 3.5px;
	height: 7px;
}

.roi-form input[type=range]::-ms-track {
	width: 100%;
	height: 7px;
	background: none;
	border: none;
	color: transparent;
}

.roi-form input[type=range]::-ms-fill-lower {
	background: #e6e6e6;
	border-radius: 3.5px;
}

.roi-form input[type=range]::-ms-fill-upper {
	background: #e6e6e6;
	border-radius: 3.5px;
}

.roi-range-slider {
	position: relative;
	padding-top: 0.8rem;
	padding-bottom: 0.8rem;
}

.roi-range-slider > span {
	position: absolute;
	font-size: 0.666667rem;
}

.roi-range-slider .roi-range-min {
	left: 0;
	bottom: 0;
}

.roi-range-slider .roi-range-max {
	right: 0;
	bottom: 0;
}

.roi-range-slider .roi-range-middle {
	bottom: 0;
	left: 50%;
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.roi-range-slider .roi-range-current {
	top: 0;
}

.roi-range-bg {
	position: absolute;
    width: 100%;
    height: 7px;
    top: calc(0.8rem + 8px);
    pointer-events: none;
}

.roi-range-bg > div {
	position: absolute;
	width: 1px;
	height: 7px;
	top: 0;
	background: #b4b4b4;
}

.roi-form input[type=text],
.roi-form input[type=number],
.roi-form input[type=date] {
	border: 1px solid #000;
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
	height: 2.375rem;
	line-height: calc(2.375rem - 2px);
	padding: 0 10px;
}

.roi-form input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
}

.roi-form .sun-button {
	padding: 0;
	width: 100%;
}

.roi-form input[type=submit] {
	width: 100%;
	height: 100%;
	display: block;
	padding: 0 30px 0 25px;
	line-height: calc(2.375rem - 2px);
	-webkit-transition: color 0.4s;
	-moz-transition: color 0.4s;
	-o-transition: color 0.4s;
	-ms-transition: color 0.4s;
	transition: color 0.4s;
}

.roi-form .sun-button-dark:hover > input {
	color: #fff;
}

.roi-radio-label {
	position: relative;
	padding-bottom: 100%;
	border-radius: 10px;
	margin-bottom: 0;
	-webkit-transition: color 0.4s, background 0.4s;
	-moz-transition: color 0.4s, background 0.4s;
	-o-transition: color 0.4s, background 0.4s;
	-ms-transition: color 0.4s, background 0.4s;
	transition: color 0.4s, background 0.4s;
}

.roi-radio-label > * {
	position: absolute;
}

.roi-radio-label > div {
	width: 100%;
	height: 100%;
	padding-bottom: 14.3%;
	background-size: auto;
	background-repeat: no-repeat;
	background-position: center;
}

.roi-radio-label > div:last-of-type {
	opacity: 0;
	-webkit-transition: opacity 0.4s;
	-moz-transition: opacity 0.4s;
	-o-transition: opacity 0.4s;
	-ms-transition: opacity 0.4s;
	transition: opacity 0.4s;
}

.roi-info {
	right: 11px;
	top: 13px;	
}

.roi-info > img {
	display: block;
	-webkit-transition: opacity 0.4s;
	-moz-transition: opacity 0.4s;
	-o-transition: opacity 0.4s;
	-ms-transition: opacity 0.4s;
	transition: opacity 0.4s;
}

.roi-info > img:last-child {
	position: absolute;
	opacity: 0;
	top: 0;
}

.roi-form input[type=radio] {
	width: 0;
	height: 0;
	visibility: hidden;
	display: inline;
}

.roi-form input[type=radio]:not(:checked) + .roi-radio-label {
	color: #808080;
	background: #e6e6e6;
}

.roi-form input[type=radio]:checked + .roi-radio-label {
	color: #fff;
	background: #3d3d3d;
}

.roi-form input[type=radio]:checked + .roi-radio-label > div:last-of-type,
.roi-form input[type=radio]:checked + .roi-radio-label > a > img:last-child {
	opacity: 1;
}

.roi-label-duennschicht > div:first-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/duennschicht-grey.png);
}

.roi-label-duennschicht > div:last-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/duennschicht-white.png);
}

.roi-label-dickschicht > div:first-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/dickschicht-grey.png);
}

.roi-label-dickschicht > div:last-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/dickschicht-white.png);
}

.roi-label-aufdachanlage > div:first-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/aufdachanlage-grey.png);
}

.roi-label-aufdachanlage > div:last-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/aufdachanlage-white.png);
}

.roi-label-solarpark > div:first-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/solarpark-grey.png);
}

.roi-label-solarpark > div:last-of-type {
	background-image: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/solarpark-white.png);
}

.roi-leistung {
	position: relative;
}

.roi-form .roi-leistung > input {
	padding-right: 50px;
}

.roi-leistung:after {
	content: 'kWp';
	position: absolute;
	right: 10px;
	bottom: 0;
	height: 2.375rem;
	line-height: 2.375rem;
}

.roi-leistung-mw:after {
	content: 'MWp';
}

.roi-ajax-spinner {
	visibility: hidden;
}

.roi-button-add {
	display: inline-block;
    font-size: 3rem;
    line-height: 0.64;
    border: 1px solid currentColor;
    cursor: pointer;
    padding: 10px;
    margin-right: 10px;
}

.roi-add-plant {
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 0;
}

.roi-button-inactive {
	display: none;
}

.roi-fieldset:not(:first-of-type) {
	height: 0;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: height .5s, opacity .4s .5s;
	-moz-transition: height .5s, opacity .4s .5s;
	-o-transition: height .5s, opacity .4s .5s;
	-ms-transition: height .5s, opacity .4s .5s;
	transition: height .5s, opacity .4s .5s;
}

.roi-checkboxen > label:first-child {
	margin-bottom: 1rem;
}

.roi-dachhoehe:after {
	content: 'Meter';
}

.roi-dachneigung:after {
	content: 'Grad';
}

.roi-fieldset > .row > div:nth-child(3),
.roi-fieldset > .row > div:nth-child(4) {
	padding-top: 30px;
}

.roi-info-modal {
    position: absolute;
    background: #fff;
    border: 1px solid currentColor;
    padding: 10px;
    padding-top: 35px;
    z-index: 1;
    top: 0;
    right: 15px;
    width: 322px;
    display: none;
    border-radius: 10px;
}

.roi-modal-close {
	position: absolute;
	width: 15px;
	height: 15px;
	background: url(https://sun-x.energy/wp-content/plugins/roi-rechner/assets/img/cancel-dark.png) center/contain no-repeat;
	cursor: pointer;
	right: 10px;
	top: 12px;
}

.roi-info-modal p {
	margin-bottom: 0;
}

.roi-info-modal img {
	margin-bottom: 20px;
}

.roi-radio-inline input[type=radio] {
	width: 0;
	height: 0;
	visibility: hidden;
	border: none;
	padding: 0;
	margin-bottom: 0;
}

.roi-radio-inline input[type=radio] + .wpcf7-list-item-label:before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 21px;
	vertical-align: bottom;
	margin-right: 1rem;
	border-radius: 50%;
}

.roi-radio-inline input[type=radio]:checked + .wpcf7-list-item-label:before {
	background: #fff;
	-moz-box-shadow: 3px 3px 6px rgba(255,255,255,0.32);
	-webkit-box-shadow: 3px 3px 6px rgba(255,255,255,0.32);
	box-shadow: 3px 3px 6px rgba(255,255,255,0.32);
}

.roi-radio-inline input[type=radio]:not(:checked) + .wpcf7-list-item-label:before {
	background: #4b4b4b;
}

.roi-radio-inline label.d-block + label {
	margin-right: 60px;
}

.roi-radio-inline label {
	display: inline-block;
}

.roi-radio-inline label


@media (max-width: 1199px) {
	.roi-fieldset > .row:not(:last-child) {
		margin-bottom: 40px;
	}
	
	.roi-form label {
		font-size: 1rem;
	}
}

@media (max-width: 991px) {
	.roi-fieldset > .row > div:first-child {
		margin-bottom: 40px;
	}
}

@media (max-width: 767px) {
	.roi-fieldset > .row {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.roi-fieldset > .row > div {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.roi-fieldset > .row:not(:last-child),
	.roi-fieldset > .row > div:first-child,
	.roi-leistung {
		margin-bottom: 20px;
	}
}

@media (max-width: 575px) {
	.roi-radio-label,
	.roi-fieldset > .row:last-child {
		margin-bottom: 20px;
	}
}