a.ym-button, .ym-button, .ym-form button, .ym-form input[type="button"],
.ym-form input[type="reset"], .ym-form input[type="submit"],
#paymentconditionsWindow .x-btn, #docUploader .x-btn, #docUploader .x-btn:hover {
    background-image: none;
    background-color: var(--fourth-color);
    box-shadow: none;
    border: none !important;
    text-shadow: none;
    filter: none;
    min-height: 40px;
    line-height: 38px;
    border-radius: 5px;
    padding: 0;
}

/*********************************** from old main page.css **************************/

form[name="mainform"] {
    padding: 0;
}

#contentform #nav {
    display: none;
}

#contentform {
    margin-top: 0px;
}

#stage {
    padding-top: 100px;
    box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.23);
    background-image: url("/images/Baufiservice-stage-border.png");
    background-repeat: repeat-y;
}

#stage .stage-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

#stage .stage-placeholder {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    min-width: 55%;
    max-width: 730px;
    position: relative;
}

#stage .stage-badge-placeholder {
    flex-grow: 1;
    height: 100px;
}


#stage #img-section {
    background-image: url("/images/BafuserviceIndex.png");
    background-repeat: no-repeat;
    padding-bottom: 2rem;
    background-position-y: bottom;
}

#stage .stage-badge {
    background-image: url("/images/BaufiserviceTopZinsBadge.png");
    background-repeat: no-repeat;
    width: 170px;
    height: 160px;
    z-index: 10;
    position: absolute;
    right: 2rem;
    bottom: -2rem;
    line-height: 1em;
    padding: 15px 15px 15px 10px;
    background-position: top;
    background-color: transparent;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: unset;
}

#stage .stage-badge:active {
    top: unset;
    box-shadow: unset;
}

#stage .stage-badge:focus-visible {
    outline-color: transparent;
}


#stage .stage-badge small {
    display: inline-block;
    font-size: 11px;
    color: #35383b;
    font-weight: 400;
}


#stage .stage-badge span.top {
    color: #fefefe;
    font-size: 21px;
    font-weight: bold;
    line-height: 21px;
    margin-top: 0.5rem;
}

#stage .stage-finance-block {
    flex-flow: row-reverse;
    max-width: 100%;
    min-width: 400px;
    flex-grow: 1;
    display: flex;
}

#stage .csc-textpic-text {
    padding-right: 15px;
    display: flex;
    justify-content: flex-end;
}

#stage .stage-text-box {
    max-width: 490px;
    margin: 0 1rem;
    background-color: rgba(255, 255, 255, 0.73);
    border-radius: 5px;
    padding: 1rem 1rem 0 1rem;
    box-sizing: border-box;
}

#stage .stage-text-box * {
    box-sizing: border-box;
}

#stage .stage-text-box h2 {
    font-size: 40px;
    line-height: 1.6em;
    margin-bottom: 50px;
    font-weight: bold;
    color: var(--third-color);
}

#stage .csc-textpic-text ul.check {
    list-style: none;
    padding-left: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 16px;
}

#stage .csc-textpic-text ul.check li {
    display: block;
    font-family: "Open Sans", Helvetica, sans-serif;
    padding: 0 0 1.5rem 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;

}

#stage .csc-textpic-text ul.check li:before {
    padding-right: 0.5rem;
    font-size: 120%;
    color: var(--main_color);
    margin-left: -25px;
}

#stage strong {
    color: #15517e;
    font-weight: bolder;
}

#stage .csc-textpic-text p {
    margin-bottom: 1rem;
}

#stage .csc-textpic-text #ButtonAngebotAnfordern {
    height: 48px;
    line-height: 48px;
    width: 100%;
    text-transform: uppercase;
    font-size: 120%;
    background-image: none;
    background-color: var(--header-active-btn-color);
    box-shadow: none;
    border: none !important;
    text-shadow: none;
    filter: none;
    min-height: 40px;
    border-radius: 3px;
    color: white !important;
    padding: 0;
}

.info-bank-box {
    display: flex;
    padding: 2rem 4rem;
    background-color: white;
    flex-wrap: wrap;
}

.info-bank-box .bank-info {
    flex-grow: 1;
    min-width: 400px;
    max-width: 300px;
    margin-right: 4rem;
}

.info-bank-box .pewl-wrapper {
    min-width: 350px;
    flex-grow: 2;
}


.info-bank-box .bank-info-images {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
}

.info-bank-box .bank-info .ym-fbox-heading {
    font-size: 177%;
    color: var(--third-color);
}

.p-button.fa:before {
    display: inline;
}

@media screen and (max-width: 600px) {
    #stage .csc-textpic-text #ButtonAngebotAnfordern {
        font-size: 100% !important;
        width: 95% !important;
    }

    .info-bank-box {
        padding: 1rem 0.1rem;
    }

    .info-bank-box .bank-info {
        min-width: 340px;
    }

}
