/* ============================================================
   web-health-form  —  個人健康諮詢表   〔積木說明〕
   問卷區塊、填寫欄位、感謝頁(.health-*/.user-health-*)
   （由 all.css 拆分；純樣式區塊，改這裡不影響其他積木）
   ============================================================ */

/* 健康諮詢表 */
.health-block {
    flex: 100%;
    max-width: 100%;
}

.form-items {
    line-height: 42px;
    display: inline-block;
}

.form-items input {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

.form-items label {
    margin-right: 10px;
}

.health-main .form-short-input input {
    width: 49%;
}

.health-main {
    padding: 20px 0;
    width: 80%;
    margin: auto;
}

.health-main.form-inputs {
    line-height: 42px;
}

.health-block .step-group {
    width: 18%;
    padding: unset;
}

.health-block .step-block {
    padding: unset;
}

.health-block .en-text {
    height: 14px;
    display: inline-block;
    color: #868585;
    font-weight: bold;
}

.form-label {
    font-size: 16px;
    color: #231815;
    line-height: 42px;
    font-weight: bold;
}

.user-info .user-info-data {
    height: 42px;
    font-size: 16px;
    line-height: 42px;
    display: inline-block;
    width: 76%;
}

.user-info .user-info-data .form-birthday-input {
    display: inline-block;
}

.user-info {
    max-width: 750px;
    margin: 0px auto;
}

.user-info>.clearfix {
    padding: 10px 0px;
}

.user-info .form-label {
    width: 150px;
    text-align: right;
    margin-right: 30px;
}

.user-info .form-inputs {
    width: 75%;
    display: inline-block;
}

.user-info .explanation-btn {
    margin: unset;
    font-size: 13px;
}

.user-info .explanation-block {
    display: inline-block;
    margin-top: 5px;
    font-size: 13px;
}

.explanation-text {
    word-break: break-all;
    color: #9f353a;
    display: none;
}

.user-info .reminder-text {
    color: #9f353a;
}

.user-info .reminder-text a {
    color: #9f353a;
}

.user-info .user-info-data .explanation-block {
    display: inline;
}

.user-info .user-info-data .explanation-text {
    display: inline-block;
    font-size: 13px;
}

.form-unit-text {
    color: #868585;
    position: absolute;
    top: 0;
    right: 32px;
    line-height: 42px;
}

.form-sort-input {
    width: 34%;
}

.health-main .invalid-feedback {
    font-weight: bold;
    display: inline;
    line-height: 20px;
}

#ecp_phone-error {
    display: flex;
}

.input-text {
    position: relative;
}

.user-info-btn {
    font-size: 14px;
    font-weight: bold;
    background-color: #fd7d28ee;
    color: #fff;
    max-width: 750px;
    margin: auto;
    text-align: center;
    padding: 3px;
    border-radius: 2rem;
    cursor: pointer;
}

.errorClass {
    outline-color: rgb(185, 44, 40);
}

select.error {
    border: 2px solid rgb(185, 44, 40);
    margin: 0px;
    color: rgb(185, 44, 40);
}

.health-block .pre-next-btn-block {
    width: 100%;
    text-align: right;
}

.pre-next-btn-block input[type="submit"] {
    border: unset;
}

.pre-next-btn-block .health-btn {
    color: #fff !important;
    padding: 10px 0px;
    width: 143px;
    height: 42px;
    text-align: center;
    margin: 3px;
    border-radius: 0px;
    display: inline-block;
    font-size: 14px;
}

.pre-next-btn-block .pre-btn {
    background-color: rgb(173, 173, 173);
}

.pre-next-btn-block .next-btn {
    background-color: #b1263b;
}

.health-btn.save-btn {
    background-color: #359f6a;
}

.agree_checkbox_label {
    display: unset;
}

.health-block input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.health-main .instructions {
    text-align: center;
    color: #AD1729;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 0px 10px 0px;
}

.health-main .recruit-message-title {
    margin: 10px 0px;
}

.health-main .form-question {
    width: 100%;
    clear: both;
}

.health-main .sub-question .form-label {
    font-size: 15px;
}

.health-main .sub-question .form-radio-input label {
    font-size: 15px;
}

.health-main label {
    margin-bottom: 0px;
}

.health-title {
    margin-bottom: 38px;
}

.health-condition-main {
    max-width: 640px;
    margin: 0 auto;
}

.health-main .login-input,
.health-main .form-radio-input-no,
.health-main .forms-channel {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.health-main .form-names {
    width: 128px;
}

.health-main .form-inputs {
    margin-left: 50px;
}

.health-main .forms-channel .form-inputs {
    margin-left: 62px;
}

.health-main .name-input input {
    width: 100%;
}

.health-main .sub-question-block {
    margin-left: 50px;
    display: none;
}

.health-condition .form-names {
    width: 100%;
    text-align: left;
}

.health-condition .form-short-title {
    width: 16%;
}

.health-condition .form-inputs {
    margin-left: 0;
}

.verified {
    color: #9F353A;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #9F353A;
    margin: 20px 0px;
    display: inline-block;
    padding: 8px;
}

.recruits-last .send-submit {
    width: 200px;
}

.explanation-btn {
    border: 1px solid #444;
    cursor: pointer;
    border-radius: 5px;
    padding: 0px 5px;
    font-size: 14px;
}

.mhr-ehr-block {
    display: none;
}

.thank-content .user-info {
    background-color: #eee;
    padding: 10px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
}

.thank-content .user-info p {
    margin: 10px 0;
}

.thank-content .user-info span {
    font-weight: bold;
    font-size: 17px;
    margin-right: 20px;
    width: 150px;
    display: inline-block;
    text-align: right;
}

.thank-content .user-info div {
    width: 50%;
    float: left;
}

.thank-content .ecp-info span {
    width: 100px;
}

.thank-content .ecp-info h3 {
    margin: 10px 0;
}

.thank-content .unit {
    font-size: 0.5rem;
}

.health-block .step-sticky {
    position: fixed;
    top: 100px;
    left: 0;
    background-color: #fff;
    width: 100%;
    padding: 10px 10px;
    box-shadow: 0px 5px 10px #ddd;
    z-index: 1;
}

.health-block .step-sticky .step-group {
    width: 12.5%;
}

.health-block.top-socialite-notify .step-sticky {
    top: 128px;
}

.health-block .completed-step {
    background: rgb(53, 159, 106) !important;
    color: rgb(255, 255, 255) !important;
}

.user-health-block {
    width: 80%;
    margin: auto;
}

.user-health-block .health-block {
    display: inline-block;
    width: 100%;
    position: relative;
    min-height: 100px;
}

.user-health-block .health-block h2 {
    background-color: #9f353a;
    color: #fff;
    padding: 7px 10px;
    margin: 10px 0px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    width: 100%;
    display: inline-block;
}

.user-health-block .health-block.basic-info .items {
    width: 45%;
    float: left;
}

.user-health-block .health-block .items {
    padding: 5px 0;
    margin-left: 20px;
    min-height: 30px;
}

.user-health-block .health-block .items ul {
    padding: 5px 0;
    clear: both;
}

.user-health-block .health-block label {
    font-size: 17px;
    font-weight: bold;
}

.user-health-block .health-block h3 {
    font-size: 17px;
    font-weight: bold;
    float: left;
}

.user-health-block .health-block .condition-good {
    color: #359f6a;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    line-height: 44px;
}

.user-health-block .health-block .edit-button {
    position: absolute;
    top: 58px;
    right: 0;
    border: 1px solid #9f353a;
    border-radius: 2rem;
    background-color: #ffeced;
    color: #9f353a;
    padding: 5px 15px;
}

.user-health-block .health-block .no-completed {
    color: #9f353a;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.input-text {
    line-height: 36px;
}

.short-line-height .form-label {
    line-height: 20px;
    font-size: 14px;
}

.short-column .form-inputs input {
    width: 68%;
}

.short-column>.clearfix {
    padding: 0;
}

.short-column {
    display: flex;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .step-block .line {
        width: 95px;
    }

    .thank-content .user-info span {
        width: 130px;
    }

    .user-info .user-info-data,
    .user-info .form-inputs {
        width: 70%;
    }

    .health-block .step-sticky {
        top: 49px;
    }

    .health-block.top-socialite-notify .step-sticky {
        top: 77px;
    }

    .short-column .form-inputs input {
        width: 70%;
    }

    .form-question.user-info {
        display: flex;
    }

    .short-column .form-inputs {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .health-block {
        margin-top: unset;
    }

    .health-main {
        padding: unset;
        width: 100%;
    }

    .health-main .recruit-images .form-names {
        padding-left: 0;
    }

    .health-main .forms-channel .form-inputs {
        margin-left: 0;
    }

    .health-title {
        margin-bottom: 10px;
    }

    .health-block .en-text {
        font-size: 12px;
    }

    .health-condition {
        padding: 0;
    }

    .verified {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .health-main .form-inputs textarea {
        height: 130px;
    }

    .health-condition .form-short-title {
        width: 25%;
    }

    .health-main .form-radio-input input {
        width: 15px;
        height: 15px;
    }

    .user-info .form-label {
        width: 150px;
        text-align: unset;
    }

    .user-info .form-inputs {
        width: 100%;
    }

    .user-info .user-info-data {
        width: 100%;
    }

    .health-block .step-block .line {
        right: -23px;
        width: 72px;
    }

    .health-block .step-block {
        display: block;
    }

    .health-block .step-group p {
        min-width: unset;
        font-size: 12px;
    }

    .user-info-item {
        width: 50%;
        float: left;
    }

    .user-info.short-label {
        width: 100%;
    }

    .user-info .form-sort-input {
        width: 100%;
    }

    .user-info .user-info-data .explanation-text {
        display: block;
    }

    .user-info-item .form-label {
        width: 35%;
        margin-right: 15px;
    }

    .user-info-item .user-info-data {
        width: 55%;
    }

    .user-info.no-birthday .form-label {
        width: 100%;
    }

    .user-info.no-birthday .user-info-data {
        width: 100%;
    }

    .user-info.no-birthday .user-info-data .explanation-text {
        display: inline-block;
    }

    .health-main .form-radio-input .form-other-inputs {
        width: 130px;
        height: 30px;
        line-height: 30px;
        border-radius: 0px;
    }

    .health-main .sub-question-block {
        margin: unset;
    }

    .explanation-text {
        line-height: 20px;
    }

    .health-block .thank-content .pre-next-btn-block button {
        padding: unset;
        margin: unset;
    }

    .thank-content .user-info {
        display: inline-block;
        font-size: 14px;
    }

    .thank-content .user-info div {
        width: 100%;
    }

    .thank-content .user-info p {
        margin: 5px 0;
    }

    .thank-content .user-info span {
        font-size: 14px;
    }

    .thank-content .ecp-info h3 {
        text-align: center;
    }

    .user-info-item:last-child {
        margin-bottom: 15px;
    }

    .health-block.top-socialite-notify .step-sticky {
        top: 78px;
    }

    .health-block .step-block.step-sticky p {
        margin-top: 3px;
    }

}

@media (max-width: 450px) {
    .pre-next-btn-block .health-btn {
        float: left;
    }

    .thank-content .pre-next-btn-block .pre-btn,
    .pre-next-btn-block .save-btn {
        width: 48%;
    }

    .thank-content .pre-next-btn-block .next-btn {
        width: 98%;
    }

    .health-block .step-block .line {
        right: -10px;
        width: 50px;
    }

    .health-block .step-sticky {
        top: 50px;
    }

    .health-block .step-sticky .step-group {
        width: 18.5%;
    }

    .user-health-block {
        width: 100%;
    }

    .user-health-block .health-block.basic-info .items {
        width: 100%;
    }

    .user-health-block .health-block .condition-good {
        text-align: left;
    }

    .thank-content .next-btn {
        width: 96.5%;
    }

    .user-info-item {
        width: 100%;
    }

    .short-column .form-items {
        width: 217px;
    }

    .short-column .form-inputs {
        width: 84%;
    }

    .short-column .unit_button {
        line-height: 37px;
        margin-left: 5px;
    }

    .short-column {
        margin: 10px auto;
    }

    .user-info.short-label .form-items {
        width: 69px;
    }

    .short-label .form-items {
        width: 150px;
    }

    .short-label.short-column .form-control {
        width: 65%;
    }

    .user-info .form-label {
        width: 135px;
    }

    .short-column .form-inputs input {
        width: 100%;
    }

    .user-info .form-label {
        margin-right: 12px;
    }
}

@media (max-width: 320px) {

    .pre-next-btn-block .pre-btn,
    .pre-next-btn-block .save-btn,
    .pre-next-btn-block .next-btn {
        width: 98% !important;
    }

    .thank-content .user-info span {
        width: 110px;
        margin-right: 10px;
    }

    .user-info.short-label .form-items {
        width: 75px;
    }

    .short-label .form-items {
        width: 150px;
    }

    .short-label.short-column .form-control {
        width: 60%;
    }

    .user-info-item .user-info-data {
        width: 100%;
    }

    .health-block.top-socialite-notify .step-sticky {
        top: 98px;
    }

}

/* 健康諮詢表 END */

/* 課程管理健康諮詢表 */
.user-health-btn {
    color: #9f353a;
}

.user-health-btn:hover {
    color: #9f353a;
    opacity: 0.8;
}

.user-health-content {
    font-size: 14px;
    width: 43%;
    color: #4d4d4d;
}

.user-health-content .health-block {
    width: 48%;
    float: left;
    margin: 0px 5px;
}

.user-health-content h1 {
    font-size: 30px;
    text-align: center;
    font-weight: bold;
}

.user-health-content h2 {
    background-color: #9f353a;
    color: #fff;
    padding: 7px 10px;
    margin: 10px 0px;
    font-weight: bold;
    font-size: 18px;
}

.user-health-content h3 {
    font-weight: bold;
    color: #9f353a;
    margin-bottom: 0px;
    font-size: 16px;
    float: left;
}

.user-health-content .items ul {
    clear: both;
}

.user-health-content .items {
    margin: 5px 5px;
    display: inline-block;
    width: 100%;
}

.user-health-content .health-block.basic-info {
    width: 100%;
}

.user-health-content .health-block.basic-info .items {
    width: 31%;
    float: left;
    background-color: #f9eded;
    border-radius: 2rem;
    padding: 5px 15px;
    margin: 5px 5px;
}

.user-health-content .health-block.basic-info h3 {
    float: left;
}

.user-health-content label {
    font-weight: bold;
    color: #444;
    margin-bottom: 0px;
    font-size: 15px;
}

.user-health-content p {
    margin: 5px 0;
    font-size: 15px;
}

.user-health-content .condition-good {
    color: #359f6a;
}

.user-health-content .no-health {
    background-color: #355f9f;
}

.user-health-content .date {
    width: 100%;
    display: inline-block;
}

.user-health-content .date p {
    float: right;
    margin-right: 5px;
}

.user-health-content .date span {
    color: #1167e9;
}

.health_span {
    padding-left: 10px;
    float: left;
}


@media (max-width: 1024px) {
    .user-health-content {
        width: 80%;
    }
}

@media (max-width: 450px) {
    .user-health-content {
        width: 90%;
        font-size: 7px;
    }

    .user-health-content div {
        width: 100% !important;
        margin: unset !important;
    }

    .user-health-content .items {
        padding: 5px 5px;
    }

    .user-health-content label {
        font-size: 13px;
    }

    .user-health-content p {
        font-size: 12px;
        margin: 2px 0;
    }

    .user-health-content h1 {
        font-size: 19px;
    }

    .user-health-content h2 {
        font-size: 12px;
    }

    .user-health-content h3 {
        font-size: 14px;
    }

    .user-health-content .health-block.basic-info .items {
        background: none;
    }
}

input[name='class_how_long_other_input'] {
    width: 100px !important;
}

.unit_button {
    display: inline-block;
    margin-left: 8px;
}

.unit_button button {
    height: 26px;
    line-height: 21px;
    font-size: 13px;
    border: 1px solid #ddd;
    color: #c5c3c3;
}

.unit_button .choose_unit {
    background-color: #b1263b;
    color: #fff;
}

.other-inputs-block {
    float: right;
    display: none;
}

/* 健康諮詢表 END */
