.onFeedbackServiceActivities,
.onFeedbackServiceActivities * {
    box-sizing: border-box;
}

body.activeFeedbackPopupMsg .onFeedbackServiceActivitiesForm,
body.activeFeedbackPopup .onFeedbackServiceActivitiesForm {
    display: none !important;
}

.onFeedbackServiceActivitiesFormInContent {
    color: var(--feedbackServicePrimaryText);
    font-size: 15px;
}

.onFeedbackServiceActivitiesFormHinweis,
.onFeedbackServiceActivitiesForm {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    grid-gap: 1rem;
    position: fixed;
    bottom: -5rem;
    left: 0;
    right: 0;
    border-radius: 0;
    font-size: 15px;
    z-index: 9998;
    box-shadow: 0 -4px 7px 0 rgba(0, 0, 0, 0.10);
    opacity: 0;
    transform: scale(0.6);
    transition: all .2s ease;
}

body.activeScroll:not(.activeFeedbackPopupMsg ) .onFeedbackServiceActivitiesFormHinweis,
body.activeScroll .onFeedbackServiceActivitiesForm {
    opacity: 1;
    bottom: 0;
    transform: scale(1);
}

.onFeedbackServiceActivitiesFormHinweis {
    text-align: center;
}

.onFeedbackServiceActivitiesFormHinweis b {
    font-weight: bold;
    color: var(--feedbackServicePrimaryC);
}

@media screen and (max-width: 600px) {
    body.activeScroll .onFeedbackServiceActivitiesForm {
        opacity: 1;
        /*bottom: 0;*/
        transform: scale(1);
        box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.10);
        top: 50px;
        height: 128px;
    }
}

.onFeedbackServiceActivitiesForm p {
    margin: 0;
    font-weight: 600;
}

.onFeedbackServiceActivitiesFormText {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.onFeedbackServiceActivitiesFormButtons {
    width: 100%;
    grid-gap: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (min-width: 800px) {
    .onFeedbackServiceActivitiesForm {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .onFeedbackServiceActivitiesFormRow {
        margin: 0 !important;
    }

    .onFeedbackServiceActivitiesFormMsg,
    .onFeedbackServiceActivitiesFormIn {
        position: fixed;
        width: 100%;
        height: 100%;
        padding: 30px 0 !important;
        top: 0;
        left: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.5) !important;
        box-sizing: border-box;
    }

    .onFeedbackServiceActivitiesFormMsgIn {
        padding: 20px;
    }

    .onFeedbackServiceActivitiesFormMsgIn,
    .onFeedbackServiceActivitiesFormInCnt {
        border-radius: 0;
        background: #fff;
        max-height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 8px 1px rgba(0, 0, 0, .1);
    }

    .onFeedbackServiceActivitiesFormInCnt {
        overflow: auto;
    }

    .onFeedbackServiceActivitiesFormInContent {
        padding: 20px;
        max-height: 100%;
        overflow-x: auto;
    }

    body .onFeedbackServiceActivitiesForm {
        display: flex !important;
    }

    main {
        position: relative;
        z-index: 9;
    }
}

@media screen and (max-width: 800px) {
    .onFeedbackServiceActivitiesFormInContentImg {
        margin: 2rem auto 10px;
    }

    .onFeedbackServiceActivitiesFormInContent button[type="submit"], .onFeedbackServiceActivitiesFormInContent input[type="submit"] {
        margin-top: 10px;
    }

    .onFeedbackServiceActivitiesFormMsg,
    .onFeedbackServiceActivitiesFormIn {
        position: fixed;
        width: 100%;
        height: 100%;
        padding: 15px 0 !important;
        top: 0;
        left: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.5) !important;
        box-sizing: border-box;
    }

    .onFeedbackServiceActivitiesFormMsgIn {
        padding: 20px;
    }

    .onFeedbackServiceActivitiesFormMsgIn,
    .onFeedbackServiceActivitiesFormInCnt {
        border-radius: 0;
        background: #fff;
        max-height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 8px 1px rgba(0, 0, 0, .1);
        padding: 20px;
    }

    .onFeedbackServiceActivitiesFormInCnt {
        overflow: auto;
    }
}

.onFeedbackServiceActivitiesForm p {
    margin: 0;
    font-weight: 600;
}

.onFeedbackServiceActivitiesFormInContent button[type="submit"],
.onFeedbackServiceActivitiesFormInContent input[type="submit"],
.onFeedbackServiceActivitiesFormLike,
.onOfficeDetailViewBtnJa,
.onFeedbackServiceActivitiesFormUnLike {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    padding: 0 1.8em;
    font-size: 16px !important;
    line-height: 1.2 !important;
    min-height: 45px;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    grid-gap: 10px;
    min-width: 45%;
}

.onOfficeDetailViewBtnJa img {
    position: absolute;
    width: 22px;
    left: 1.8em;
}

.onOfficeDetailViewBtnJa,
.onFeedbackServiceActivitiesFormInContent button[type="submit"],
.onFeedbackServiceActivitiesFormInContent input[type="submit"],
.onFeedbackServiceActivitiesFormUnLike:hover,
.onFeedbackServiceActivitiesFormLike {
    background: var(--feedbackServiceButtonPrimary) !important;
    border: 2px solid var(--feedbackServiceButtonPrimary) !important;
    color: var(--feedbackServiceButtonPrimaryText) !important;
}

.onOfficeDetailViewBtnJa:hover,
.onFeedbackServiceActivitiesFormInContent button[type="submit"]:hover,
.onFeedbackServiceActivitiesFormInContent input[type="submit"]:hover,
.onFeedbackServiceActivitiesFormLike:hover,
.onFeedbackServiceActivitiesFormUnLike {
    background: var(--feedbackServiceButtonSecondary) !important;
    border: 2px solid var(--feedbackServiceButtonSecondary) !important;
    color: var(--feedbackServiceButtonSecondaryText) !important;
}

.onFeedbackServiceActivitiesFormInContent button[type="submit"] {
    position: relative;
}


.onFeedbackServiceActivitiesFormInContent button[type="submit"].thinking,
.onFeedbackServiceActivitiesFormInContent button[type="submit"]:disabled {
    cursor: not-allowed !important;
}

.onFeedbackServiceActivitiesFormInContent button[type="submit"]:after {
    content: "";
    position: absolute;
    background-image: url("/wp-content/plugins/oo_feedback_service/assets/images/spinner.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 40px;
    width: 40px;
    top: 4px;
    right: 5px;
    visibility: hidden;
}

.onFeedbackServiceActivitiesFormInContent button[type="submit"].thinking:after {
    animation: rotating2 2s linear infinite;
    visibility: visible;
}

@keyframes rotating2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.onFeedbackServiceActivitiesForm h2,
.onFeedbackServiceActivitiesForm h3,
#estateDetailContent .onFeedbackServiceActivitiesForm h2,
#estateDetailContent .onFeedbackServiceActivitiesForm h3 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.onFeedbackServiceActivitiesFormIn {
    display: none;
    background: #F6F6F7;
}

.onFeedbackServiceActivitiesFormIn.active {
    display: flex;
    flex-direction: column;
    padding: 80px 0 0;
}

.onFeedbackServiceActivitiesFormMsgIn,
.onFeedbackServiceActivitiesFormInCnt {
    width: 100%;
    margin: auto;
    max-width: 800px;
    position: relative;
    text-align: center;
}

.onFeedbackServiceActivitiesFormContentClose,
.onFeedbackServiceActivitiesFormContentCloseHinweis {
    float: right;
    margin-left: auto;
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--feedbackServicePrimaryC);
}

.onFeedbackServiceActivitiesFormContentClose:before,
.onFeedbackServiceActivitiesFormContentCloseHinweis:before,
.onFeedbackServiceActivitiesFormContentClose:after,
.onFeedbackServiceActivitiesFormContentCloseHinweis:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    border-top: 2px solid currentColor;
    transform-origin: center;
}

.onFeedbackServiceActivitiesFormContentClose:before,
.onFeedbackServiceActivitiesFormContentCloseHinweis:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.onFeedbackServiceActivitiesFormContentClose:after,
.onFeedbackServiceActivitiesFormContentCloseHinweis:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.onFeedbackServiceActivitiesFormRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    grid-gap: 1rem;
    margin: 1rem 0 0;
}

.onFeedbackServiceActivitiesFormRowText {
    flex-grow: 1;
}

.onFeedbackServiceActivitiesFormRowText img,
.onFeedbackServiceActivitiesFormRowText svg {
    display: block;
    width: 100%;
}

.onFeedbackServiceActivitiesFormFields {
    grid-gap: 20px;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.onFeedbackServiceActivitiesFormField {
    margin: 7px 0;
    text-align: left;
    display: inline-flex;
    align-items: center;
    width: 100%;
    grid-gap: 10px;
}

.onFeedbackServiceActivitiesFormField input[type="radio"]:hover {
    outline: none !important;
}

.onFeedbackServiceActivitiesFormField input[type="radio"] {
    margin: 0 !important;
    outline: 0 !important;
    border: 0;
    width: 23px;
    height: 23px;
    accent-color: var(--feedbackServiceInputPrimary);
    position: relative;
    border-radius: 50%;
}

.onFeedbackServiceActivitiesFormField input[type="radio"]:after {
    content: '';
    display: inline-block;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background-color: #fff;
    border: 2px solid rgba(0, 0, 0, .19);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.onFeedbackServiceActivitiesFormField input[type="radio"]:checked:after {
    background-color: var(--feedbackServiceInputPrimary);
    border: 2px solid rgba(0, 0, 0, .19);
}

.onFeedbackServiceActivitiesFormField textarea {
    border-radius: 0;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .19);
    accent-color: var(--feedbackServiceInputPrimary);
    padding: 15px;
    width: 100%;
    font-size: 15px;
    margin: 0 0 20px;

}

.onFeedbackServiceActivitiesFormField textarea::placeholder {
    color: var(--feedbackServiceSecondaryText);
    opacity: 1;
}

.onFeedbackServiceActivitiesFormInContentImg {
    display: block;
    max-width: 112px;
    width: 100%;
    margin: 3rem auto 1rem;
}

.onFeedbackServiceActivitiesFormMsg h3,
.onFeedbackServiceActivitiesFormInContent h3 {
    font-size: 24px;
    font-weight: 600;
}

body .onFeedbackServiceActivitiesFormMsg {
    display: flex;
    flex-direction: column;
}

body.activeFeedbackPopup main {
    z-index: unset !important;
}

body.activeFeedbackPopup .onFeedbackServiceActivities {
    position: relative;
    z-index: 9999999999;
}

body.activeFeedbackPopupMsg .onFeedbackServiceActivitiesFormMsg {
    position: fixed;
    left: 0;
    margin: auto;
    z-index: 99999;
    background: #ffff;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-self: center;
    top: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    padding: 30px;
}

@media screen and (max-width: 800px) {
    body.activeFeedbackPopup .onDetailViewMain {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .onFeedbackServiceActivitiesFormIn.active {
        padding: 80px 40px 40px;
    }

    .onFeedbackServiceActivitiesFormFields {
        grid-gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }
}