/* Custom Forms */
.hbspt-form form {
    width:100%;
}

.hbspt-form form fieldset {
    max-width:100%;
}

.hbspt-form .field [id^=label-] {
    display: none;
}

.hbspt-form .hs-error-msg {
    color:red;
}

.hbspt-form fieldset {
    margin-bottom: 20px;
}

.hbspt-form ul.inputs-list {
    padding: 0;
}

.hbspt-form label.hs-form-booleancheckbox-display,
.hbspt-form label.hs-form-checkbox-display {
    display: flex;
    align-content: space-between;
    flex-direction: row;
    align-items: center;
}

.hbspt-form label.hs-form-booleancheckbox-display input,
.hbspt-form label.hs-form-checkbox-display input {
    margin-right: 20px;
}

.hbspt-form div.hbspt-form {
    margin-left: 8px;
    padding-right: 8px;
}

.hbspt-form .hs-form-field {
    margin-bottom: 10px;
}

.hbspt-form li:before {
    display:none;
}

.hbspt-form textarea.hs-input,
.hbspt-form select.hs-input {
    width:100% !important;
}

.hbspt-form textarea {
    height: 70px;
}

.hbspt-form {
    padding-left: 8px;
    padding-bottom: 20px;
}

.hbspt-form ul {
    display: flex;
    flex-flow: row wrap;
}

.hbspt-form li {
    width: 50%;
}

.hbspt-form li.hs-form-booleancheckbox {
    width: 100%;
}

.hbspt-form li label {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.hbspt-form li label input {
    margin-right:5px;
}

.hbspt-form textarea {
    height: 70px;
}

.fieldset.form-columns-2 .input:nth-of-child(even) {
    margin-right:0;
}

/* Override Mobile Mediaquery */
@media (max-width: 767px), (max-device-width: 767px) and (min-device-width: 320px){
    .hbspt-form .input {
        margin-right:0;
        margin-left:0;
        padding-left:0;
        padding-right:0;
    }
}

/* Feedback Form special case */
#hsForm_dea95c80-f2eb-4a9f-9029-09fba4af3848 p {
    width:100%;
    padding:0;
    margin-bottom:5px;
}
#hsForm_dea95c80-f2eb-4a9f-9029-09fba4af3848 fieldset:last-of-type ul,
#hsForm_dea95c80-f2eb-4a9f-9029-09fba4af3848 fieldset:last-of-type ul li {
    width:100%;
}

@media (min-width: 480px){
    input#lastname-dea95c80-f2eb-4a9f-9029-09fba4af3848 {
        margin-top: 22px;
    }   
}

#hsForm_dea95c80-f2eb-4a9f-9029-09fba4af3848 input[type="email"] {
    width:100%;
}

/* Bestellformular special case */
#kontonummer-abca3838-bafa-4ee9-b5fb-ad5bcfe052ab {
    width:100%;
}

#hsForm_abca3838-bafa-4ee9-b5fb-ad5bcfe052ab p {
    padding-left:0;
}

label.hs-form-booleancheckbox-display p {
    padding: 0;
    float: none;
}

label.hs-form-booleancheckbox-display span {
    margin-left: 0 !important;
}

@media (min-width: 768px){
    form p, form>fieldset.form-columns-0>div.row {
        width: 100%;
    }
}