.law-online-content-box {
    margin-top: 40px;
}

.law-online-content {
    background: #ffffffff;
    padding: 20px 20px 0;
    max-width: 1160px;
}

.law-online-top-box {
    display: flex;
    justify-content: space-between;
}

.law-online-form {
    display: flex;
    justify-content: end;
}

.law-online-form-item input, .law-online-form-item select {
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    border: 1px solid #d9d9d9ff;
    background: #ffffffff;
    padding: 7px 12px;
    margin-right: 15px;
}

.solicitor-search {
    width: 60px;
    height: 32px;
    border-radius: 2px;
    background: #063c92ff;
    color: #ffffffff;
    font-size: 14px;
    font-weight: 400;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.consult-box {
    /*max-width: 576px;*/
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
}

.history-law-online-box {
    margin: 24px 0 48px;
}

.history-law-online-content {
    max-width: 1160px;
    background: #ffffffff;
    padding: 20px 20px 40px;
    margin-bottom: 60px;
}

.quiz-item-title {
    color: #000000db;
    font-size: 18px;
    font-weight: 500;
}

.quiz-item-reply {
    margin-top: 5px;
    color: #00000099;
    font-size: 14px;
    font-weight: 400;
}

.quiz-item span {
    white-space: unset;
    margin: 0 6px;
}

.quiz-item-reply a {
    color: blue;
}

.quiz-item-reply span {
    margin: 0;
}

.quiz-bottom-box {
    margin-top: 10px;
    color: #0000004d;
    font-size: 12px;
    font-weight: 400;
}

.quiz-item-user {
    margin-left: 12px;
}

.quiz-bottom-box img {
    margin: 4px;
}

.quiz-item-box {
    display: none !important;
}

.quiz-pagination {
    margin-top: 48px;
    display: flex;
    flex-direction: row-reverse;
}

.history-law-online-reply-box {
    margin-top: 58px;
}

.history-law-online-reply-item {
    display: flex;
}

.reply-avatar {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    flex: 48px 0 0;
}

.reply-avatar img {
    width: 100%;
    height: 100%;
}

.reply-solicitor {
    width: 100%;
}

.solicitor-name {
    color: #000000db;
    font-size: 15px;
    font-weight: 500;
}

.reply-time {
    color: #0000004d;
    font-size: 12px;
    font-weight: 400;
}

.reply-content-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e5e5ff;
}

.reply-content {
    max-width: 680px;
    color: #000000db;
    font-size: 14px;
    font-weight: 400;
    word-break: break-all;
    padding-top: 20px;
    overflow-x: hidden;
}

.reply-content img {
    max-width: 100% !important;
    max-height: 100% !important;
}

.reply-content a {
    color: blue;
}

.reply-like {
    display: flex;
    margin-left: 20px;
    color: #0000004d;
    font-size: 15px;
    font-weight: 500;
    align-items: center;
}

.reply-like img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.reply {
    width: 100%;
}

.reply textarea {
    height: 400px;
}

.reply-button {
    width: 100%;
    text-align: end;
    margin-top: 32px;
}

.reply-button button {
    width: 94px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #063c92ff;
    background: #063c92ff;
    color: #ffffffff;
    font-size: 14px;
    font-weight: 400;
}

.law-online-form-item-q {
    flex: 235px 0 0;
}

.law-online-form-item-q input {
    width: 85%;
}

@media (max-width: 1000px) {
    .law-online-top-box {
        display: block;
    }

    .law-online-form {
        margin-top: 15px;
        justify-content: flex-start;
    }
}

@media (max-width: 800px) {
    .law-online-form {
        display: block;
    }

    .law-online-form-item {
        margin-top: 15px;
    }

    .law-online-form-item input, .law-online-form-item select {
        width: 100% !important;
        padding: 7px 0;
        text-indent: 10px;
    }
}

@media (max-width: 600px) {
    .law-online-form-item input, .law-online-form-item select {
        width: 100% !important;
        padding: 7px 0;
        text-indent: 10px;
    }

    .quiz-item-count {
        display: none !important;
    }

    .quiz-item-user {
        margin-left: 0;
    }

    .quiz-bottom-box {
        justify-content: space-between;
    }

    .quiz-item-box {
        display: flex !important;
    }

    .quiz-item-box div {
        margin-top: 4px;
    }
}
