/*
 * ============================================================
 * R-DB Next / Mansion Tower
 * Public Form V1
 * ============================================================
 */

html,
body {
    margin: 0;
    padding: 0;
    background: #f5f2ed;
    color: #211715;
}

.rdb-public-form-page {
    padding: 0 0 90px;
}

.rdb-public-form-inner {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
}

.rdb-form-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 24px 0 18px;

    font-size: 13px;
    color: #7a716b;
}

.rdb-form-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.rdb-request-property {
    margin: 0 0 26px;
    padding: 25px 28px;

    background: #fff;

    border: 1px solid #e1d9d1;
    border-radius: 14px;

    box-shadow:
        0 8px 26px
        rgba(55, 39, 30, 0.06);
}

.rdb-request-property-kicker {
    margin-bottom: 8px;

    color: #9a6b45;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.rdb-request-property h2 {
    margin: 0 0 13px;

    font-size: 24px;
    line-height: 1.5;
}

.rdb-request-property-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.rdb-request-property-meta strong {
    color: #b24b23;
    font-size: 21px;
}

.rdb-request-property-meta span {
    position: relative;

    color: #574b45;
    font-size: 14px;
}

.rdb-request-property-address {
    margin-top: 12px;

    color: #766b65;
    font-size: 13px;
    line-height: 1.7;
}

.rdb-form-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e1d9d1;
    border-radius: 14px;

    box-shadow:
        0 10px 34px
        rgba(55, 39, 30, 0.07);
}

.rdb-form-lead {
    padding: 28px 32px 24px;

    background:
        linear-gradient(
            180deg,
            #fff,
            #fbfaf8
        );

    border-bottom: 1px solid #eee7e0;
}

.rdb-form-lead h2 {
    margin: 0 0 8px;

    font-size: 23px;
}

.rdb-form-lead p {
    margin: 0;

    color: #786d67;

    font-size: 14px;
    line-height: 1.8;
}

.rdb-form-error-summary {
    margin: 24px 32px 0;
    padding: 12px 15px;

    background: #fff3ef;

    border: 1px solid #edc9bc;
    border-radius: 7px;

    color: #b84721;

    font-size: 14px;
    font-weight: 700;
}

.rdb-form-field {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);

    min-height: 82px;

    border-bottom: 1px solid #eee8e2;
}

.rdb-form-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    padding: 25px 22px 22px 30px;

    background: #faf8f5;

    font-size: 14px;
    font-weight: 700;
}

.rdb-form-control {
    padding: 19px 30px 21px;
}

.rdb-form-required {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    height: 20px;
    padding: 0 7px;

    border-radius: 3px;

    background: #c75631;
    color: #fff;

    font-size: 10px;
    line-height: 20px;
}

.rdb-form-control input[type="text"],
.rdb-form-control input[type="email"],
.rdb-form-control input[type="tel"],
.rdb-form-control input[type="number"],
.rdb-form-control textarea,
.rdb-form-control select {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    background: #fff;

    border: 1px solid #cfc6be;
    border-radius: 6px;

    color: #241b17;

    font: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.rdb-form-control textarea {
    min-height: 135px;
    resize: vertical;

    line-height: 1.7;
}

.rdb-form-control input:focus,
.rdb-form-control textarea:focus,
.rdb-form-control select:focus {
    border-color: #b88762;

    box-shadow:
        0 0 0 3px
        rgba(184, 135, 98, .13);
}

.rdb-form-field.has-error
.rdb-form-control input,
.rdb-form-field.has-error
.rdb-form-control textarea {
    border-color: #cf6945;
}

.rdb-form-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rdb-form-choice {
    position: relative;

    cursor: pointer;
}

.rdb-form-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rdb-form-choice span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    box-sizing: border-box;

    padding: 0 18px;

    background: #fff;

    border: 1px solid #cfc6be;
    border-radius: 22px;

    color: #51463f;

    font-size: 14px;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.rdb-form-choice input:checked + span {
    background: #6f8d45;
    border-color: #6f8d45;
    color: #fff;
}

.rdb-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    cursor: pointer;

    line-height: 1.7;
}

.rdb-form-checkbox input {
    width: 18px;
    height: 18px;

    margin-top: 3px;

    accent-color: #6f8d45;
}

.rdb-form-help {
    margin-top: 7px;

    color: #877a73;

    font-size: 12px;
    line-height: 1.6;
}

.rdb-form-error {
    margin-top: 7px;

    color: #c64f2c;

    font-size: 12px;
    font-weight: 700;
}

.rdb-form-actions {
    display: flex;
    justify-content: center;
    gap: 14px;

    padding: 30px;
}

.rdb-form-actions.is-confirm {
    flex-wrap: wrap;
}

.rdb-form-primary,
.rdb-form-secondary {
    appearance: none;

    min-width: 280px;
    min-height: 54px;

    padding: 0 26px;

    border-radius: 6px;

    font: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.rdb-form-primary {
    background: #d96e32;
    border: 1px solid #d96e32;
    color: #fff;
}

.rdb-form-primary:hover {
    opacity: .9;
}

.rdb-form-secondary {
    background: #fff;
    border: 1px solid #bdb2aa;
    color: #51463f;
}


/*
 * CONFIRM
 */

.rdb-form-confirm {
    border-top: 1px solid #eee8e2;
}

.rdb-form-confirm-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);

    border-bottom: 1px solid #eee8e2;
}

.rdb-form-confirm-label {
    padding: 20px 28px;

    background: #faf8f5;

    font-size: 14px;
    font-weight: 700;
}

.rdb-form-confirm-value {
    padding: 20px 28px;

    font-size: 15px;
    line-height: 1.8;

    word-break: break-word;
}


/*
 * COMPLETE
 */

.rdb-form-complete {
    padding: 58px 32px;

    text-align: center;
}

.rdb-form-complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: #6f8d45;
    color: #fff;

    font-size: 30px;
    font-weight: 700;
}

.rdb-form-complete h2 {
    margin: 0 0 14px;

    font-size: 26px;
}

.rdb-form-complete p {
    margin: 0;

    color: #6b6059;

    font-size: 15px;
    line-height: 1.9;
}

.rdb-form-receipt {
    display: inline-block;

    margin-top: 23px;
    padding: 9px 18px;

    background: #f7f4f0;

    border-radius: 6px;

    color: #645850;

    font-size: 13px;
}

.rdb-form-complete-actions {
    margin-top: 32px;
}

.rdb-form-complete-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 220px;
    min-height: 48px;

    padding: 0 20px;

    background: #fff;

    border: 1px solid #baafa7;
    border-radius: 5px;

    color: #463c37;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}


/*
 * MOBILE
 */

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

    .rdb-public-form-page {
        padding-bottom: 60px;
    }

    .rdb-public-form-inner {
        width: calc(100% - 24px);
    }

    .rdb-form-breadcrumb {
        padding: 15px 2px 12px;

        font-size: 11px;
    }

    .rdb-request-property {
        margin-bottom: 15px;
        padding: 18px 17px;

        border-radius: 9px;
    }

    .rdb-request-property h2 {
        margin-bottom: 10px;

        font-size: 18px;
    }

    .rdb-request-property-meta {
        gap: 6px 12px;
    }

    .rdb-request-property-meta strong {
        width: 100%;

        font-size: 19px;
    }

    .rdb-form-card {
        border-radius: 9px;
    }

    .rdb-form-lead {
        padding: 21px 18px 19px;
    }

    .rdb-form-lead h2 {
        font-size: 18px;
    }

    .rdb-form-lead p {
        font-size: 12px;
    }

    .rdb-form-error-summary {
        margin: 16px 15px 0;

        font-size: 12px;
    }

    .rdb-form-field {
        display: block;

        min-height: 0;
    }

    .rdb-form-label {
        padding: 15px 16px 8px;

        background: #fff;

        font-size: 13px;
    }

    .rdb-form-control {
        padding: 0 16px 17px;
    }

    .rdb-form-control input[type="text"],
    .rdb-form-control input[type="email"],
    .rdb-form-control input[type="tel"],
    .rdb-form-control input[type="number"],
    .rdb-form-control textarea,
    .rdb-form-control select {
        padding: 12px;

        font-size: 16px;
    }

    .rdb-form-control textarea {
        min-height: 120px;
    }

    .rdb-form-choice-group {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rdb-form-choice span {
        justify-content: flex-start;

        width: 100%;

        padding: 0 15px;

        border-radius: 6px;
    }

    .rdb-form-actions {
        display: grid;
        grid-template-columns: 1fr;

        padding: 20px 16px;
    }

    .rdb-form-primary,
    .rdb-form-secondary {
        width: 100%;
        min-width: 0;
    }

    .rdb-form-confirm-row {
        display: block;
    }

    .rdb-form-confirm-label {
        padding: 13px 16px 5px;

        background: #fff;

        font-size: 12px;
    }

    .rdb-form-confirm-value {
        padding: 0 16px 15px;

        font-size: 14px;
    }

    .rdb-form-complete {
        padding: 42px 20px;
    }

    .rdb-form-complete h2 {
        font-size: 21px;
    }

}

/*
 * =========================================================
 * RDB_NEXT_FORM_LOGO_LEFT_SPACE_25PX_V1
 * Form page header logo left spacing
 * =========================================================
 */
.mt-header .mt-logo{
    margin-left: 25px !important;
}

@media (max-width: 767px){
    .mt-header .mt-logo{
        margin-left: 25px !important;
    }
}
/* End RDB_NEXT_FORM_LOGO_LEFT_SPACE_25PX_V1 */

