#futterberatung_form {
    width: 100%;
    margin: 20px 0 0 0;
    
    border-top: 1px solid var(--greyLight1);
}

#futterberatung_form>h2 {
    margin-bottom: 30px
}

.wrongInput {
    border-color: red;
}

button.next {
    height: 40px;
    border: 0px;
    border-radius: 5px;
    width: 100%;
    padding: 0 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--maincolor);
    background-color: #fff;
    color: var(--maincolor);
    max-width: 372px;
}

button.next:hover {
    cursor: pointer;
    background-color: var(--maincolor);
    color: #fff;
}

.correctInput {
    border-color: var(--maincolor);
    background-color: var(--maincolorLight);
}

fieldset {
    border: 1px solid var(--maincolor);
    border-radius: 10px;
    margin: 0 0 20px 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

fieldset img {
    position: absolute;
    right: 10px;
    top: 0
}

fieldset legend {
    font-size: 13px;
    font-weight: bold;
    display: flex;
    padding: 5px 10px;
    background-color: var(--greyLight1);
    border-radius: 10px;
    color: var(--black30);

}

fieldset legend.active {
    background-color: var(--maincolor);
    color: white;
}

fieldset .stepContent {
    padding: 20px 0 0 0
}

fieldset .stepContent p.notice {
    margin: 15px 0;
    font-size: 15px;
    font-weight: bold;
}

fieldset .stepContent p.abschlusstext {
    margin: 15px 0;
    font-size: 15px;
}

p.foodTitle {
    margin: 20px 0;
    border-bottom: 1px solid var(--greyLight);
    padding: 0 0 5px 0;
    font-size: 18px;
    color: var(--maincolor)
}

.inputFields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.inputFields>* {
    flex: 1 1 0;
}

.inputFields span {
    font-size: 14px;
    color: var(--greyMid1);
    display: block;
    margin: 3px 0;
    font-weight: normal
}

.inputFields .field {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.inputFields .fieldRow {
    flex-direction: row;
    font-size: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.inputFields .fieldRow>* {
    width: 100%;
    font-size: 14px
}

.radioBlock {
    display: flex;
    align-items: center;
    width: 100%;
    white-space: nowrap;
    border: 1px solid var(--greyLight1);
    border-radius: 5px;
    height: 40px;
    display: flex;
    padding: 5px 10px
}

.radioBlock>input {
    margin: 0 10px 0 0;
    cursor: pointer;
    -webkit-appearance: radio !important;
    appearance: radio !important
}

.radioBlock label {
    cursor: pointer;
}

.fs_between {
    margin-top: 15px;
    border-color: var(--black60) !important;
}

.fs_between legend {
    background-color: var(--black60) !important;
}

span.spanRadio {
    width: max-content !important;
    white-space: nowrap;
    align-items: center;
}

input[type="text"],
input[type="number"],
input[type="date"] {
    min-height: 40px;
    padding: 0 5px;
}

input[type="number"] {
    max-width: 72px !important;
    min-width: 72px;
}

input[type="number"].prozent {
    max-width: 100px !important;
}

select {
    min-height: 40px;
    flex: 1 1 0;
    background: none;
    padding: 0 5px;
    background-color: white;
    min-width: max-content;
}

.foodRadioBlock {
    display: flex;
    flex: 1 1 0;
    gap: 10px
}

.foodWeight {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content !important;
}

.foodWeight>*,
.foodPercent>* {
    flex: 1 1 auto;
    max-width: 100px;
    width: 100%;
}

.foodPercent {
    display: flex;
    gap: 10px;
}

input,
select,
textarea {
    border: 1px solid var(--greyLight1);
    color: var(--greyDarker);
    border-radius: 5px;
    font-size: 16px;
}

.birthday {
    display: flex;
    flex-wrap: nowrap
}

.birthday select:nth-child(2) {
    margin: 0 5px
}

textarea {
    width: 100%;
    height: 200px;
    resize: none;
    padding: 10px
}

.wrongInput {
    border-color: red !important;
    color: red !important;
}

#beratungsangebot button {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    background-color: white;
    flex-direction: column;
    border: 1px solid var(--greyLight1);
    position: relative;
}

#beratungsangebot button p {
    color: var(--greyDarker);
    font-size: 14px;
}

#beratungsangebot button.active {
    border-color: var(--maincolor);
    background-color: var(--maincolorLight);
}

#beratungsangebot button img {
    position: absolute;
    right: 10px;
    top: 10px
}

#beratungsangebot button:hover {
    cursor: pointer;
    background-color: var(--greyLight2);
}

#beratungsangebot button:hover b {
    color: var(--maincolor)
}

#beratungsangebot button b {
    color: var(--black70);
    font-size: 16px
}

#beratungsangebot button p.price {
    margin: auto 0 0 0;
    font-weight: bold;
    font-size: 20px;
    color: var(--maincolor);
}

#futterberatung_form input[type="submit"] {
    height: 40px;
    font-size: 14px;
    border: 1px solid var(--maincolor);
    background-color: var(--white);
    color: var(--maincolor);
    margin-top: 4px;
    padding: 0 15px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    min-width: 200px
}

#futterberatung_form input[type="submit"]:hover {
    background-color: var(--maincolor);
    color: var(--white);
}

#futterberatung_form label.checkbox .checkmark {
    border: 1px solid var(--greyLight1);
}

.stepClosed {
    height: 20px;
    border-color: var(--greyLight1);
}

.checkboxContent {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-top: 10px
}

.checkboxContent .checkbox {
    display: flex;
    justify-content: center;
    font-size: 16px;
    padding: 5px 10px;
    border: 1px solid var(--greyLight1);
    border-radius: 5px
}

.checkboxContent .checkbox input {
    cursor: pointer;
    margin-right: 10px;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important
}

.stepClosed input,
.stepClosed select,
.stepClosed textarea {
    background-color: var(--greyLight1);
}

.uploadArea {
    background-color: var(--greyLight2);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.uploadArea h3 {
    margin-top: 0px;
    color: var(--maincolor);
}

@media screen and (max-width:700px) {
    .inputFields .fieldRow {
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--greyLight1);
        padding-bottom: 10px;
    }
    .checkboxContent {
        flex-direction: column;
        align-items: flex-start;
    }
    .checkboxContent .checkbox {
        width: 100%;
        justify-content: start;
    }
    .foodRadioBlock .radioBlock {
        width: 100%;
        flex: 1 1 auto;
    }
    button.next {
        width: 100%
    }
    .foodPercent {
        flex-wrap: wrap;
    }
    .foodPercent input[type="number"].prozent {
        max-width: 100% !important
    }
    .foodWeight>*,
    .foodPercent>* {
        flex: 1 1 0;
        max-width: 100%;
        min-width: 100px;
    }
}

input[type="file"] {
    display: none;
}

.uploadField {
    padding: 5px;
    border: 1px solid var(--greyLight1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px
}

.uploadField img {
    position: relative;
    right: 0px
}

.uploadField:hover {
    background-color: var(--maincolorLight);
    cursor: pointer;
}

@media screen and (max-width:450px) {
    #beratungsangebot button {
        min-width: 50% !important
    }
    .inputFields {
        flex-direction: column;
    }
    .foodRadioBlock {
        flex-direction: column;
    }
}