legend h2{
    font-size: 1.15em
}

#calculatorFieldset{
    margin: auto;
    max-width: 375px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center
}

#calculatorFieldset legend {
    padding-left: 1em;
    padding-right: 1em;
    font-size: 20px;
    font-weight: bold;
}

label.smallLabel {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;

}

.left{
    text-align: left;
}

#heightWrapper {
    width: 100%;
}

#heightInput {
    display: inline-block;
    width: 7em;
}

#heightTypeInput{
    vertical-align: top;
    display: inline-block;
    width: 10em;
    margin-top: 17px;
    text-align: left;
}

#inchesInput {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

#inchesLabel{
    display: inline-block;
    width: 0;
    margin: -5px;

}


#heightInput .numberInput, #distanceInput .numberInput, #minutesInput .numberInput, #weightInput .numberInput{
    width: 4em;
    text-align: center
}

#stepsInput .numberInput{
    width: 6em;
    text-align: center
}


#weightWrapper {
    width: 100%;
}

#weightInput {
    display: inline-block;
    width: 7em;
}

#weightTypeInput{
    vertical-align: top;
    display: inline-block;
    width: 10em;
    margin-top: 17px;
    text-align: left;
}





.radio input{
    position: absolute!important;
    clip: rect(0,0,0,0);
}

.radio input:checked+label {
    background-color: #264653;
    color: #fff;
    box-shadow: none;
}

.radio label:first-of-type {
    border-radius: 5px 0 0 5px;
}

.radio label:last-of-type {
    border-radius: 0 5px 5px 0;
}


.radio label{
    cursor: pointer;
//width: 100%;
//text-align: -webkit-center;
    background-color: #eee;
    color: #666;
    font-size: 20px;
//line-height: 1;
    padding: 10px;
    margin-right: -5px;
    border: 1px solid #aaa;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 30%), 0 1px rgb(255 255 255 / 10%);
    transition: all .1s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}

input[type=number].numberInput{
    height: 40px;
    padding: 5px;
    font-size: 20px;
//line-height: 22px;
    border-color: #aaa;
    color: #555;
    border-radius: 5px;
    box-sizing: border-box;
}

.calculatorRow{
    margin-top: 20px;
}

.calculatorRow:first-of-type{
    margin-top: 0;
}
.hidden{
    display: none!important;
}

.result-row {
    display: flex;
    font-size: 20px;
    margin-left: 60px;
}

.result-label {
    margin-right: 1em;
    width: 3em
}

div#result{
    text-align: center;

}

.result-label {
    width: 8em;
}

div#result-calories{
    font-weight: bold;
    color: #E76F51;

}
