
#budget-decision-container {
	display: none;
}


#budget-decision-container .decision-defining-data-container {
    display: flex;
    flex-direction: row;
    width: 90vw;
    align-items: center;
    justify-content: center;
}

/* Styling the container */
.budget-controls-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 5vh;
    color: var(--secondary-color-dark);
    flex: 1;
    max-width: 50%;
}

/* Styling the age text */
.budget-controls-container h2 {
    font-size: 1.75vh;
    text-align: center;
}
.budget-controls-container h1 {
    background-color: var(--primary-color-dark-s3);
    padding: 1vh 2vh;
    border-radius: 2vh;
    font-size: 4.5vh;
}
.budget-controls-container .slider-container {
	margin: 3vh 0;
    width: -webkit-fill-available;
}
.slider-container {
    touch-action: pinch-zoom;
}

#budget-decision-container .decision-defining-data-container img {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 60%;
    height: auto;
}

:root {
	--range-container-height: 1vh;
}

.range_container {
  display: flex;
  flex-direction: column;
  width: 90%;
}

.sliders_control {
  position: relative;
  min-height: 2vh;
}

.form_control {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  color: #635a5a;
}

.range_container input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
    appearance: none;
    width: 2vh;
    height: 3vh;
    background-color: var(--secondary-color-dark);
    border-radius: 1vh;
    cursor: pointer;
}

.range_container input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  pointer-events: all;
    appearance: none;
    width: 2vh;
    height: 3vh;
    background-color: var(--secondary-color-dark);
    border-radius: 1vh;
    cursor: pointer;
}

.range_container input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: var(--range-container-height);
  width: 100%;
  border-radius: 2vh;
  position: absolute;
  background-color: var(--primary-color-dark-s3);
  pointer-events: none;
}

#fromSlider {
  height: 0;
  z-index: 1;
  top: calc(var(--range-container-height)/2);
}

@media (max-width: 768px) or (orientation: portrait) {
    #budget-decision-container .decision-defining-data-container img {
        width: 100%;
    }

    #budget-decision-container .decision-defining-data-container {
        flex-direction: column-reverse;
    }

    .budget-controls-container {
        max-width: 100%;
        padding: 2ch 2vh;
        align-items: center;
    }

	.range_container {
		width: 100%;
	}

	.budget-controls-container h1 {
		font-size: 3vh;
	}

    .budget-controls-container h2 {
        font-size: 2vh;
    }

}