.masthead {
  height: 50vh;
  min-height: 300px;
  background-image: url('img/kreditexperten-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#topheader .navbar-nav li > a {
	color: #333;
	margin-right: 5px;
	margin-left: 5px;
}
#topheader .navbar-nav li > a:hover, #topheader .navbar-nav li > a:focus {
  color: #28a745;
}

#topheader .navbar-nav li.active > a {
	color: #e8a227;
	font-weight: bold;
	text-decoration: underline; 
}

.text-bj {
	color: #e8a227;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.05rem;
	margin-top: 0rem;
}



/* RANGE INPUT */
.range-div {
	position: relative;
	margin-bottom: 20px;
	margin-top: 20px;	
	margin-top: 10px !important;
}

.range-div input[type="range"] {
    border: 0px !important;		
    outline: 0;
    width: 100%;
	height: 1px;
	background: #cccccc !important;
	padding: 3px;
}

.range-div input[type="range"]:hover,
.range-div input[type="range"]:active,
.range-div input[type="range"]:focus {
    border: 0px !important;	
    background: #cccccc !important;
}

.range {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: linear-gradient(to right, #1299E6, #A0D9F9);
	width: 100%;
	height: 2px !important;
	outline: none;
}

.range:active::-webkit-slider-thumb{
  box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 1);
}

.range:active::-moz-range-thumb{
  box-shadow: 0 2px 5px -2px rgba(0, 0, 0, 1);
}

.range::-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 35px;
  width: 100px;
  background: #e8a227;
  border-radius: 5px;
  cursor: grab;
}

.range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 35px;
  width: 100px;
  background: #e8a227;
  border-radius: 5px;
  cursor: grab;
}

.range::-moz-range-thumb {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 35px;
  width: 100px;
  background: #e8a227;
  border-radius: 5px;
  cursor: grab;
}

.range-thumb {
  position: absolute;
  left: 0px;
  top: 0;
  width: 100px;
  height: 40px;
  text-align: center;
  color: #fff;
  line-height: 27px;
  pointer-events: none;
}

.range-thumb::before {
	padding-left: 10px;
	font-weight: bold;
	font-size: 16px; 	
	content: attr(data-val) " €";
}

.biglabel {
	margin-bottom: 20px;
	width: 100% !important;
}


input::-moz-focus-inner,
input::-moz-focus-outer {
  border: 0;
}


input:focus,
select:focus{
	border: 1px solid #228cd1;
}

.form-error {
    font-size: 0.7em;
    color: #dc1c1c;
    padding: 4px;
	margin-top: -3px;
	margin-left: 10px;
}

.switch-field {
	display: flex;
	margin-bottom: 1px;
	overflow: hidden;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #e4e4e4;
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 8px 16px;
	margin-right: 10px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
	width: 20%;	
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #a5dc86;
	box-shadow: none;
}

.switch-field label:first-of-type {
	border-radius: 4px;
}

.switch-field label:last-of-type {
	border-radius: 4px;
}


.span_pseudo, .chiller_cb span:before, .chiller_cb span:after {
  content: "";
  display: inline-block;
  background: #fff;
  width: 0;
  height: 0.2rem;
  position: absolute;
  transform-origin: 0% 0%;

}
.chiller_cb label {
	font-weight: normal;
	font-size: 14px;
}

.chiller_cb {
	position: relative;
	display: flex;
	align-items: top;
	padding-top: 6px;
	padding-bottom: 6px;	
}
.chiller_cb input {
  display: none;
}
.chiller_cb input:checked ~ span {
  background: #28a745;
  border-color: #28a745;
}
.chiller_cb input:checked ~ span:before {
  width: 1rem;
  height: 0.15rem;
  transition: width 0.1s;
  transition-delay: 0.3s;
}
.chiller_cb input:checked ~ span:after {
  width: 0.4rem;
  height: 0.15rem;
  transition: width 0.1s;
  transition-delay: 0.2s;
}
.chiller_cb input:disabled ~ span {
  background: #ececec;
  border-color: #dcdcdc;
}
.chiller_cb input:disabled ~ label {
  color: #dcdcdc;
}
.chiller_cb input:disabled ~ label:hover {
  cursor: default;
}
.chiller_cb label {
  padding-left: 2rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
  margin-bottom:0;
}
.chiller_cb span {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #ccc;
  position: absolute;
  left: 0;
  top: 10px;
  transition: all 0.2s;
  z-index: 1;
  box-sizing: content-box;
}
.chiller_cb span:before {
  transform: rotate(-55deg);
  top: 1rem;
  left: 0.37rem;
}
.chiller_cb span:after {
  transform: rotate(35deg);
  bottom: 0.15rem;
  left: 0.18rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
  .featurette-heading2 {
    font-size: 30px;
  }
}


@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 4rem;
	margin-top: 30px;
  }
 .chiller_cb label {
	font-weight: normal;
	font-size: 12px;
} 
}

@media (max-width: 390px) {
	.navbar-brand img {
		max-width: 160px;
	}
	.top-headline{
		font-size: 25px;
	}
	.top-headline2{
		font-size: 27px;
	}	
	.featurette-heading {
		font-size: 27px;
		margin-top: 30px;
	}
	.featurette-heading2 {
		font-size: 22px;		
	}	
	.masthead{
		margin-bottom: 65px;
	} 
	.featurette-divider {
	  margin: 1rem 0;
	  padding: 0px;
	}	
}