/*  CONTACT FORMULAR  */

.mod-cfm {
    display: none;
    background-color: #DCDCDC;
    position: absolute;
    z-index: 2;
}

.mod-cfm.open {
    display: block;
}

.mcfm-head {
    position: relative;
    top: 0rem;
    left: 0rem;
}

.mcfm-head .txt {
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.82rem;
    height: 1.82rem;
    font-family: Verdana;
    letter-spacing: 0rem;
}

.mcfm-head .bttClose {
    height: 1rem;
    width: 1rem;
    position: absolute;
}

.mcfm-head .bttClose .ico {
    height: 1rem;
    width: 1rem;
    cursor: pointer;
}

.mcfm-main {
    background-color: #fff;
    font-size: 0.75rem;
}


.err {
    border: 1px solid red;
}

@media (min-width: 992px) {
    /* DESKTOP ONLY */
}

@media (min-width: 768px) {
    /* DESKTOP AND TABLET */

    .mcfm-main {
        width: calc(50.8% - 2rem);
        height: calc(100% - 6.6875rem);
        position: absolute;
        right: 0rem;
        top: 4.6875rem;
        padding: 1rem;
        border-radius: 1.5rem 0 0 0;
        overflow: auto;
    }

    .mcfm-main p {
        margin-top: 0rem;
    }

    .mcfm-send {
        position: absolute;
        left: 0rem;
        top: 4.6875rem;
        height: calc(100% - 4.6875rem);
        width: 49.2%;
        font-size: 0.75rem;
    }

    .mcfm-send-line {
        height: 3.94rem;
        width: 22.63rem;
        margin: 0rem auto 1rem 0.625rem;
    }

    .mcfm-send-message-line {
        height: 8.44rem;
    }

    .mcfm-send-lbl {
        height: 0.94rem;
        line-height: 0.94rem;
        padding-bottom: 0.5rem;
    }

    .mcfm-send-input {
        height: 2.4rem;
        width: calc(100% - 0.06rem);
        font-size: 1rem;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-ta {
        width: 100%;
        height: 7rem;
        overflow: auto;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-consent-line {
        height: auto;
        /* margin: 0rem auto 2rem auto; */
        cursor: pointer;
    }

    .mcfm-send-cbx {
        display: inline-block;
        position: relative;
        width: 1.13rem;
        height: 1.13rem;
        background-color: var(--af-color);
        margin-right: 0.63rem;
        vertical-align: top;
    }

    .mcfm-send-consent.act .mcfm-send-cbx {
        background-color: var(--az-color);
    }

    .mcfm-send-cbx-lbl {
        display: inline-block;
        width: calc(100% - 2.1rem);
        font-size: 0.75rem;
        vertical-align: top;
    }

    .mcfm-send-hook {
        display: none;
        position: absolute;
        top: 0rem;
        left: 0rem;
        width: 1.13rem;
        height: 1.13rem;
        background-repeat: no-repeat;
    }

    /*
    .mcfm-send-consent.act .mcfm-send-hook {
        display: block;
    }
    */

    .mcfm-send-btt {
        display: none;
        width: fit-content;
        height: 1.94rem;
        line-height: 1.94rem;
        background: var(--highlight-farbe) 0% 0% no-repeat padding-box;
        background: var(--az-color) 0% 0% no-repeat padding-box;
        box-shadow: 0rem 0rem 0.63rem #00000029;
        border-radius: 1.5rem;
        margin: auto;
        letter-spacing: 0rem;
        color: var(--af-color);
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0rem 0.75rem;
    }

    .mcfm-head {
        width: calc(100% - 1rem);
        height: 3.6875rem;
        margin: 0 0 0 1rem;
    }

    .mcfm-head .bttClose {
        top: 0.125rem;
        right: 2.0625rem;
    }

    .mod-cfm {
        padding: 1rem 0 0 0;
        top: 4rem;
        width: 64rem;
        height: calc(100% - 5rem);
    }

}

@media (min-width: 768px) and (max-width: 991px) and (min-height: 481px) {
    /* TABLET ONLY */

    .mod-cfm {
        width: 100%;
    }

}

@media (orientation: portrait) and (max-width: 768px) and (max-height: 1280px) {
    /* PHONE HOCH */

    .mcfm-main {
        width: calc(100% - 1.2rem);
        height: fit-content;
        display: flex;
        padding: 0.9rem 0.6rem 0 0.6rem;
        overflow: auto;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: space-between;
        justify-content: space-between;
        background-color: transparent;
    }

    .mcfm-send {
        margin-top: 1rem;
        width: 100%;
    }

    .mcfm-head {
        margin: 0 0.6rem;
    }

    .mcfm-head .bttClose {
        top: 0rem;
        right: 0rem;
    }

    .mod-cfm {
        padding: 0.9rem 0 0 0;
        top: 3.3rem;
        width: 100%;
        height: calc(100% - 7.2rem);
        overflow-y: auto;
    }

    .mcfm-send-line {
        width: calc(100% - 1.25rem);
        margin-left: 0.625rem;
    }

    .mcfm-send-lbl {
        height: 1rem;
        line-height: 1rem;
        padding-bottom: 0.5rem;
        margin-top: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.75rem;
    }

    .mcfm-send-input {
        height: 2.4rem;
        width: calc(100% - 0.06rem);
        font-size: 1rem;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-ta {
        width: 100%;
        height: 7rem;
        overflow: auto;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-line.mcfm-send-message-line {
        height: fit-content;
    }

    .mcfm-send-consent-line {
        height: auto;
        margin: 0rem auto 2rem 0.625rem;
        cursor: pointer;
    }

    .mcfm-send-cbx {
        display: inline-block;
        position: relative;
        width: 1.13rem;
        height: 1.13rem;
        background-color: var(--af-color);
        margin-right: 0.63rem;
        vertical-align: top;
    }

    .mcfm-send-consent.act .mcfm-send-cbx {
        background-color: var(--az-color);
    }

    .mcfm-send-hook {
        display: none;
        position: absolute;
        top: 0rem;
        left: 0rem;
        width: 1.13rem;
        height: 1.13rem;
        background-repeat: no-repeat;
    }

    .mcfm-send-cbx-lbl {
        display: inline-block;
        width: calc(100% - 2.1rem);
        font-size: 0.75rem;
        vertical-align: top;
    }

    /*
    .mcfm-send-consent.act .mcfm-send-hook {
        display: block;
    }
    */

    .mcfm-send-line {
        height: fit-content;
        margin: 0rem auto 1rem 0.625rem;
        width: calc(100% - 1.25rem);
    }

    .mcfm-send-btt {
        display: none;
        width: fit-content;
        height: 1.94rem;
        line-height: 1.94rem;
        background: var(--highlight-farbe) 0% 0% no-repeat padding-box;
        background: var(--az-color) 0% 0% no-repeat padding-box;
        box-shadow: 0rem 0rem 0.63rem #00000029;
        border-radius: 1.5rem;
        margin: auto;
        letter-spacing: 0rem;
        color: var(--af-color);
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0rem 0.75rem;
    }
}

@media (orientation: landscape) and (max-width: 915px) and (max-height: 480px) {
    /* PHONE QUER */

    .mod-cfm {
        padding: 0rem 0 0 0;
        top: 0rem;
        width: calc(100% - 3.375rem);
        height: calc(100% - 0rem);
        z-index: 21;
    }

    .mcfm-send {
        position: absolute;
        left: 0rem;
        top: 4.125rem;
        height: calc(100% - 4.125rem);
        width: 49%;
        overflow: auto;
    }

    .mcfm-main {
        width: calc(51% - 2rem);
        height: calc(100% - 3.625rem);
        position: absolute;
        left: calc(51% - 1rem);
        top: 2.625rem;
        padding-bottom: 0rem;
        border-radius: 0;
        overflow: auto;
        padding-left: 1rem;
        padding-top: 1rem;
        background-color: transparent;
    }

    .mcfm-head {
        width: calc(100% - 1rem);
        height: 2.625rem;
        margin: 0;
    }

    .mcfm-head .txt {
        text-align: left;
        font-size: 1.5rem;
        line-height: 1.8125rem;
        height: 1.8125rem;
        font-family: Verdana;
        letter-spacing: 0rem;
        margin-left: 0.625rem;
        padding-top: 0.8125rem;
    }

    .mcfm-head .bttClose {
        top: 0.9375rem;
        right: 0.75rem;
    }

    .mcfm-send-line {
        height: 3.94rem;
        margin: 0rem auto 1rem 0.625rem;
        width: 17.375rem;
    }

    .mcfm-send-consent-line {
        height: auto;
        margin: 0rem auto 2rem 0.625rem;
        cursor: pointer;
    }

    .mcfm-send-line.mcfm-send-message-line {
        height: fit-content;
    }

    .mcfm-send-lbl {
        height: 0.94rem;
        line-height: 0.94rem;
        padding-bottom: 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.75rem;
    }

    .mcfm-send-input {
        height: 2.4rem;
        width: calc(100% - 0.06rem);
        font-size: 1rem;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-ta {
        width: 100%;
        height: 7rem;
        overflow: auto;
        margin: 0rem;
        padding: 0rem;
        border-width: 0.06rem;
    }

    .mcfm-send-cbx {
        display: inline-block;
        position: relative;
        width: 1.13rem;
        height: 1.13rem;
        background-color: var(--af-color);
        margin-right: 0.63rem;
        vertical-align: top;
    }

    .mcfm-send-hook {
        display: none;
        position: absolute;
        top: 0rem;
        left: 0rem;
        width: 1.13rem;
        height: 1.13rem;
        background-repeat: no-repeat;
    }

    .mcfm-send-cbx-lbl {
        display: inline-block;
        width: calc(100% - 2.1rem);
        font-size: 0.75rem;
        vertical-align: top;
    }

    .mcfm-send-btt {
        display: none;
        width: fit-content;
        height: 1.94rem;
        line-height: 1.94rem;
        background: var(--highlight-farbe) 0% 0% no-repeat padding-box;
        background: var(--az-color) 0% 0% no-repeat padding-box;
        box-shadow: 0rem 0rem 0.63rem #00000029;
        border-radius: 1.5rem;
        margin: auto;
        letter-spacing: 0rem;
        color: var(--af-color);
        text-align: center;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0rem 0.75rem;
    }

    /*
    .mcfm-send-consent.act .mcfm-send-hook {
        display: block;
    }
    */
}