.dfform-container {
    font-family: "Open Sans", sans-serif;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#boxheadline {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 0.6rem;
    color: #3374d3;
    font-weight: 700;
}

.input-container {
    max-width: 300px;
    margin: 0 auto;
}

.input-container .dfform-field {
    display: inline-block;
    position: relative;
    width: 100%;
    /* height: 57px; */
    height: 45px;
    margin: 20px 0 0;
    padding: 0;
    border: none;
    border-bottom: 2px solid #d4d4d4;
}

.input-container .dfform-field:before,
.input-container .dfform-field:after {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #3374d3;
    transition: 0.4s;
    border: none;
}

.input-container .dfform-field:before {
    right: 50%;
}

.input-container .dfform-field:after {
    left: 50%;
}

.input-container .dfform-field.focus:before,
.input-container .dfform-field.focus:after {
    width: 50%;
}

.input-container .dfform-field label {
    display: inline-block;
    position: absolute;
    z-index: 1;
    left: 35px;
    top: 5px;
    width: auto;
    height: 45px;
    margin: 0;
    padding: 0;
    line-height: 45px;
    transform: translateY(0);
    color: #989b9c;
    font-size: 1rem;
    transition: 0.3s;
    font-weight: 500;
    border: none;
}

.input-container .dfform-field.focus label {
    top: 0;
    transform: translateY(-40%) scale(0.9);
    transition: 0.3s;
    color: #3374d3;
}

.input-container .dfform-field i {
    display: inline-block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 5px;
    width: 25px;
    height: 45px;
    margin: 0;
    padding: 0;
    line-height: 45px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #989b9c;
    transition: 0.4s;
}

.input-container .dfform-field.focus i {
    color: #3374d3;
}

.input-container .dfform-field input {
    display: inline-block;
    position: relative;
    z-index: 9;
    width: 100%;
    height: 45px;
    margin: 5px 0;
    padding: 0 35px;
    line-height: 45px;
    font-size: 1rem;
    color: #4c4d4e;
    font-weight: 600;
    border: none;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
}

.input-container .dfform-field input:focus,
.input-container .dfform-field input:active,
.input-container .dfform-field input:active:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.dfsubmit-container {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 0 0;
    text-align: center;
    width: 100%;
}

.SignupButton {
    border: 2px solid #3374d3 !important;
    padding: 0.625rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 18px;
    background-color: #3374d3;
    -webkit-border-radius: 2rem;
    -moz-border-radius: 2rem;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    width: 80%;
    vertical-align: text-bottom !important;
    transition: 0.3s;
    appearance: button;
    -webkit-appearance: button;
    cursor: pointer;
}

.SignupButton:hover {
    background: #3374d3 !important;
    color: #fff !important;
}

.SignupButton:focus {
    outline: none;
}

.dfsubmit-container img {
    position: absolute;
    right: -65px;
    bottom: 8px;
    width: 70px;
}

#tos_register {
    color: #8b8989;
    width: 10px !important;
    height: 10px !important;
    transform: scale(1.5);
    margin-right: 5px;
}
#tos {
    color: #8b8989;
    margin: 20px 0 0;
    font-size: 0.785rem;
    font-weight: 600;
}
#tos a,
#tos a:visited {
    color: #3374d3;
}

.dferror {
    clear: both;
    color: #ff4848;
    font-size: 11px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: -0.2px;
}
#erfolg {
    display: none;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    line-height: normal;
    font-size: 1rem;
    word-wrap: break-word;
    word-break: break-word;
}
#fehler {
    display: none;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #d90b15;
    background-color: #191919;
}
#semail {
    font-weight: bold;
    color: #d90b15;
    font-size: 1.25rem;
}

@media only screen and (max-width: 767px) {
    .dferror {
        letter-spacing: -0.4px;
    }

    .dfsubmit-container img {
        position: absolute;
        right: -32px;
        bottom: 12px;
        width: 55px;
    }
}
