.tariffinder{
	position: relative;
	display: block;
	background-color: var(--colorGrey);
	padding: 60px;
	border-radius: 0px 10px 10px 10px;
	margin: 56px 0 0 0;
}

.tariffinder .tarif-title{
	position: absolute;
	display: block;
	top:0;
	left: 0;
	transform: translateY(-100%);
	padding: 10px 60px;
	border-radius: 10px 10px 0 0;
	background-color: var(--colorGrey);
	color: var(--colorTurquoise);
	text-transform: uppercase;
	font-weight: 800;
}

.tariffinder .tarif-form{
	position: relative;
	display: flex;
	gap: 30px;
	justify-content: space-between;
}

.tariffinder .tarif-form .plz-container,
.tariffinder .tarif-form .verbrauch-container{
	max-width: 400px;	
}

.tariffinder .tarif-form label{
	font-size: 18px;
}

.tariffinder input[type=text], .tariffinder input[type=number]{
	border-radius: 10px;
	border: none;
	padding: 5px 30px;
	width: 100%;
}

.tariffinder input.rangefind{
	width: 100%;
}

/* Chrome, Safari, Edge, Opera */
.tariffinder input[type=number]::-webkit-outer-spin-button,
.tariffinder input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.tariffinder input[type=number] {
  -moz-appearance: textfield;
}


.tariffinder input[type=range] {
  appearance: none;
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #08aaaf 50%, #464c53 50%);
  cursor: pointer;
}

/* Thumb: for Chrome, Safari, Edge */
.tariffinder input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #333333;
  border-radius: 9999px;
  background: #08aaaf;
  box-shadow: none;
}

/* Thumb: for Firefox */
.tariffinder input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 1px solid #333333;
  border-radius: 9999px;
  background: #08aaaf;
  box-shadow: none;
}

.tariffinder .tarif-form > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*.tariffinder .tarif-form > div:last-child {*/
/*	justify-content: flex-end;*/
/*}*/

.tariffinder .typ-container svg {
	height: 50px;
	width: 50px;
	display: block;
	margin:0 auto;
	padding: 7px;
	border-radius: 100%;
	background:#ffffff;
}

.rangeslider {
	display: flex;
	flex-direction:column;
}
.rangeslider > span {
	display: flex;
	flex-direction:row;
	width:100%;
}
.rangeslider > span span {
	width:33%;
	padding-bottom:0.5rem;
}
.rangeslider span svg{
	height: 24px;
	width:auto;
	margin:0 auto;
	display: block;
}

.rangeslider span span:nth-of-type(1)  svg{
	margin:0 auto 0 0;
}
.rangeslider span span:nth-of-type(3)  svg{
	margin: 0 0 0 auto;
}


.tariffinder #form-gas .rangeslider span span{
	font-size: 18px;
	line-height: 24px;
}

.tariffinder #form-gas .rangeslider span span:nth-child(2){
	text-align: center;
}

.tariffinder #form-gas .rangeslider span span:nth-child(3){
	text-align: right;
}

@media(max-width: 1199px){
	.tariffinder .tarif-form{
		flex-direction: column;
	}
	.tariffinder .typ-container svg{
		margin: 0;
	}
	
	.tariffinder .tarif-form .plz-container,
	.tariffinder .tarif-form .verbrauch-container{
		max-width: 100%;	
	}
}

.tariffinder .plz-container {
 	position:relative;
}
.tariffinder .plz-container:after {
 	content: attr(data-error);
 	color:#ff0000;
 	display: block;
 	position:absolute;
 	top:100%;
}

/*** Tariffinder in vertikaler ausrichtung (Box) ***/

	.smallbox .tariffinder .tarif-form{
		flex-direction: column;
	}
	.smallbox .tariffinder .typ-container svg{
		margin: 0;
	}
	
	.smallbox .tariffinder .tarif-form .plz-container,
	.smallbox .tariffinder .tarif-form .verbrauch-container{
		max-width: 100%;	
	}
	
	.smallbox .tariffinder{
		border: 2px solid #009499;
	}
	
	.smallbox .tariffinder .tarif-title{
		border: 2px solid #009499;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: rgb(0, 148, 153);
	  border-bottom: 0;
  	margin-left: -2px;
	}

	.smallbox.dark .tariffinder, .smallbox.dark  .tariffinder .tarif-title{
		background-color: #e5e5e5;
	}
