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

.onFeedbackServiceForm {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 1rem;
    position: fixed;
    border-radius: 4px;
    bottom: -5rem;
    left: 0;
    right: 0;
    font-size: 17px;
    font-family: 'Founders Grotesk', sans-serif;
    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 .onFeedbackServiceForm {
    opacity: 1;
    bottom: 0;
    transform: scale(1);
}

body.activeFeedbackPopupMsg .onFeedbackServiceForm,
body.activeFeedbackPopup .onFeedbackServiceForm{
    opacity: 0;
    bottom: -5rem;
    transform: scale(0.6);
}

.onFeedbackServiceFormText {
    width: calc(60% - 10px);
}

.onFeedbackServiceFormButtons {
    width: calc(40% - 10px);
}

.onFeedbackServiceFormButtons {
    display: flex;
    flex-direction: row;
    grid-gap: 10px;
}

body .onFeedbackServiceFormIn {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    text-align: center;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    transition: opacity .5s ease;
}

body .onFeedbackServiceFormIn.active {
    opacity: 1;
    z-index: 99999;
}

body .onFeedbackServiceFormIn .onFeedbackServiceFormInCnt {
    position: fixed;
    right: 0;
    left: 0;
    margin: auto;
    padding: 20px;
    border-radius: 4px;
    width: 100%;
    background: #fff;
    max-width: 600px;
    max-height: 500px;
    transform: scale(0);
    transition: all .3s ease;
    overflow-x: auto;
}

body .onFeedbackServiceFormIn.active .onFeedbackServiceFormInCnt {
    opacity: 1;
    transform: scale(1);
}

.onFeedbackServiceFormInContent {
    text-align: left;
    font-size: 16px;
}

.onFeedbackServiceFormInContentImg {
    display: block;
    max-width: 90px;
    width: 100%;
    margin: 0 0 20px;
}

.onFeedbackServiceFormContentClose {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 1rem;
    top: 20px;
    line-height: 1;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    transition: transform .2s ease;
}

.onFeedbackServiceFormContentClose:hover {
    transform: scale(1.1);
}

.onFeedbackServiceFormContentButtons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 1rem;
}

.onOfficeDetailViewPrimaryBtnTel,
.onOfficeDetailViewPrimaryBtnMsg,
.onFeedbackService input[type="submit"],
.onFeedbackService button[type="submit"],
.onFeedbackServiceFormButton1,
.onFeedbackServiceFormButton2 {
    display: inline-flex;
    align-items: center;
    grid-gap: 7px;
    padding: 0 12px;
    line-height: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 4px;
    transition: all .2s ease;
    text-decoration: none;
    font-size: 16px;
}

.onOfficeDetailViewPrimaryBtnMsg,
.onFeedbackService input[type="submit"],
.onFeedbackService button[type="submit"],
.onFeedbackServiceFormButton1,
.onFeedbackServiceFormButton2:hover,
.onOfficeDetailViewPrimaryBtnTel:hover {
    background: var(--feedback_button_primary_color);
    border: 1px solid var(--feedback_button_primary_color);
    color: var(--feedback_button_text_primary_color);
}

.onOfficeDetailViewPrimaryBtnTel,
.onOfficeDetailViewPrimaryBtnMsg:hover,
.onFeedbackService input[type="submit"]:hover,
.onFeedbackService button[type="submit"]:hover,
.onFeedbackServiceFormButton2,
.onFeedbackServiceFormButton1:hover {
    background: var(--feedback_button_secondary_color);
    border: 1px solid var(--feedback_button_primary_color);
    color: var(--feedback_button_text_secondary_color);
}

.onFeedbackService textarea {
    width: 100%;
    min-height: 100px;
    margin: 0 0 1rem;
    padding: 12px;
    font-family: inherit;
    font-size: 16px;
}

.onFeedbackServiceFormFields {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    grid-gap: 1rem;
}

.onFeedbackServiceFormField {
    display: inline-flex;
    align-items: center;
    grid-gap: 7px;
    cursor: pointer;
}

.onFeedbackServiceFormField input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    outline: none;
    accent-color: var(--feedback_input_primary_color);
}

@media screen and (max-width: 800px) {

    .onFeedbackServiceFormText,
    .onFeedbackServiceFormButtons {
        width: 100%;
    }
}