.mod-calculator {
    min-height: 85vh;
    text-align: center;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}

#survey-start {
    text-align: center;
    font-size: 2rem;
}

#survey-start>h3 {
    font-weight: normal;
    margin-bottom: 6rem;
}

/* --- Radio Buttons --- */
/* The container */
.radiocontainer {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*font-size: 1.2rem;*/
}

/* Hide the browser's default radio button */
.radiocontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: relative;
    top: auto;
    left: auto;
    height: 20px;
    width: 20px;
    background-color: #465a66;
    border: 3px #fff solid;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-sizing: content-box;
}

/* On mouse-over, add a grey background color */
.radiocontainer:hover input~.checkmark {
    background-color: #65737c;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radiocontainer input:checked~.checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radiocontainer .checkmark:after {
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
}

/* --- Buttons --- */
.button-servey-start {
    background-color: #fff;
    color: #465a66;
    border: 0;
    padding: 20px 32px;
    border-radius: 48px;
    font-size: 1.5rem;
    transition: box-shadow 0.2s;
}

.button-servey-start:hover {
    background-color: #fff;
    color: #465a66;
    box-shadow: 0 0 5px #aaa;
}

#button-calcpotential {
    color: #465a66;
    background-color: #f0fd8f;
    font-size: 1.5rem;
    border: none;
    border-radius: 99px;
    padding: 14px 24px;
    margin-top: 3rem;
    transition: box-shadow 0.2s;
}

#button-calcpotential:hover {
    box-shadow: 0 0 5px #f0fd8f;
}

#savepotential {
    color: #f0fd8f;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 4rem 0px;
}

#calcpotential {
    transition: opacity 0.2s ease-out;
}

#block-savepot {
    transition: opacity 0.5s ease-in;
}

/* --- Slider ---------------------------------------------- */
.slider-container {
    position: relative;
    width: 100%;
    text-align: center;
    min-height: 128px;
}

.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    top: 14px;
    z-index: 2;
}

.slider-container::before {
    left: -8px;
}

.slider-container::after {
    right: -8px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: white;
    position: relative;
    outline: none;
    margin: 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    border: 6px solid #465a66;
    box-shadow: 0 0 0 3px #fff;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    border: 6px solid #465a66;
    box-shadow: 0 0 0 3px #fff;
    cursor: pointer;
}

.range-value {
    position: absolute;
    top: 32px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
}

.range-tag {
    position: absolute;
    top: 4rem;
    color: #aaaaaa;
    font-size: 1.2rem;
    white-space: nowrap;
}

#km {
    font-weight: normal;
    color: #aaaaaa;
}

/*form {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #465a66;
}*/

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    margin-bottom: 10px;
    padding: 12px;
    border: none;
    border-radius: 0px;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 5px #aaa;
    /*border: 1px solid #aaa;*/
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
}

textarea {
    height: 10rem;
    margin: 2rem 0;
}

#contact {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}