.layout {
    background: #f8f9fc;
}

.questionnaire_main h1 {
    line-height: 1.2em;
    text-align: center;
    padding-bottom: 32px;
    font-size: 21px;
    font-weight: bold;
}

.questionnaire_main {
    margin: 0 auto 40px auto;
    width: 880px;
    padding: 48px 40px;
    background: #fff;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

body.dark-body .questionnaire_main,
body.classic-dark .questionnaire_main {
    background: #000
}

.questionnaire_banner img {
    width: 880px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* .questionnaire_main h1{padding-top: 30px;} */
.qu_list .qu_list_item .item_dec {
    color: #888;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.questionnaire_main .qu_text {
    font-size: 16px;
    line-height:1.5;
}

.questionnaire_main .qu_list {
    padding-top: 40px;
}

.qu_list .qu_list_item {
    padding: 10px 0;
}

.qu_list .qu_list_item label {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.qu_list .qu_list_item .custom_input_view:before,
.qu_list .qu_list_item label.label-must:before {
    content: '*';
    color: red;
    font-size: 14px;
    margin-right: 4px;
}

.questionnaire_main .qu_item_input {
    padding-top: 5px;
    overflow: hidden;
}

.questionnaire_main .qu_item_input label.in-row {
    float: left;
    margin-right: 40px;
    display: block;
    min-height: 30px;
    line-height: 30px;
}

.questionnaire_main .qu_item_input label.in-row:last-child {
    margin-right: 0;
}

.questionnaire_main .qu_item_input label.in-row * {
    vertical-align: middle;
}

.questionnaire_main .qu_item_input label.in-row input {
    width: 20px;
    height: 20px;
    margin-right: 7px;
    margin-top: -3px;
}

.questionnaire_main .qu_item_input label.in-row span {
    display: inline-block;
    padding-top: 1px;
}

.questionnaire_main .qu_item_input label.in-row input.custom_input {
    padding: 0px 10px;
    vertical-align: middle;
    width: auto;
    height: auto;
}

.questionnaire_main .qu_item_input select {
    width: 100%;
    padding: 15px;
    height: 50px;
    border: solid 1px #eee;
    outline: none;
    resize: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url("/images/detail_zhankai.png") no-repeat scroll right center transparent;
    background-size: 15px;
    background-position-x: calc(100% - 20px);
}

select:invalid {
    color: #C5C5C5;
}

.questionnaire_main .sub-btn {
    margin: 0 auto;
    display: block;
    margin-top: 30px;
}

input,
select,
textarea {
    border-radius: 3px;
}

body.dark-body input,
body.dark-body select,
body.dark-body textarea {
    color: #fff;
    border-color: #525252 !important;
    background: #222
}

body.classic-dark input,
body.classic-dark select,
body.classic-dark textarea {
    color: #fff;
    border-color: #525252 !important;
    background: #141417
}

input:focus,
select:focus,
textarea:focus {
    border-color: #8a8c8e !important
}

.qu_list_item.img_download_row .img_view img {
    display: inline-block;
    max-width: 200px;
    max-width: 200px;
    cursor: pointer;
}

.qu_list_item.img_row {
    overflow: hidden;
}

.qu_list_item.img_row .img_box {
    width: 150px;
    height: 150px;
    float: left;
    background: #F8F9FB;
    position: relative;
    margin-top: 10px;
    margin-right: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qu_list_item.img_row .img_box video {
    max-height: 150px;
    max-width: 150px;
}

.qu_list_item.img_row .img_box .add_img {
    display: block;
    cursor: pointer;
    width: 150px;
    height: 150px;
    text-align: center;
    line-height: 150px;
    color: #d3dde6;
    font-size: 48px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.qu_list_item.img_row .img_box .add_img {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
    line-height: normal;
    justify-content: center;
    color: #D2D3D4;
    border: dashed 1px #CCCFD7;
    box-sizing: border-box;
}

.qu_list_item.img_row .img_box .add_img svg {
    width: 48px;
    margin-bottom: 10px;
}

.qu_list_item.img_row .img_box .add_img svg path {
    fill: #D2D3D4;
}

.qu_list_item.img_row .img_box img {
    display: block;
    border: none;
    width: 150px;
    height: 150px;
}

.qu_list_item.img_row .img_box .ico {
    position: absolute;
    right: -12px;
    top: -12px;
    font-size: 24px;
    background: #e64e62;
    color: #fff;
    border-radius: 1000px;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    -ms-border-radius: 1000px;
    -o-border-radius: 1000px;
    display: block;
    text-align: center;
    line-height: 24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.qu_list_item.img_row .img_box .ico svg {
    display: block;
    width: 16px;
    height: 16px;
    padding: 4px;
}

.qu_list_item.text_row pre {
    background: transparent;
}

.finish-view .icon {
    width: 60%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
    height: auto;
}

.finish-view p {
    font-size: 14px;
    text-align: center;
}

#qu_sub {
    position: relative;
}

#qu_sub .btn_loading {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    display: block;
    background: rgba(255, 255, 255, .2);
}

#imgMask.active {
    display: flex;
}

#imgMask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-weight: 100;
    height: 100%;
    z-index: 100000;
    background: rgba(255, 255, 255, .9);
}

.qu_list .page_item {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.qu_list .page_item.active {
    opacity: 1;
    height: auto;
}

.page_ctrl_row {
    padding-top: 20px;
    text-align: center;
}

.page_ctrl_row button {
    display: inline-block;
    border: solid 1px #666;
    color: #666;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    margin: 10px;
    border-radius: 100px;
    background: transparent;
    transition: all 0.2s ease;
}

.page_ctrl_row button.disabled {
    cursor: not-allowed;
    opacity: 0.5
}

.page_ctrl_row button:not(.disabled):hover {
    color: #E64E62;
    border-color: #E64E62
}

.page_ctrl_row button.next_page:not(.disabled):hover {
    padding-left: 15px;
}

.page_ctrl_row button.prev_page:not(.disabled):hover {
    padding-right: 15px;
}

body.dark-body #imgMask,
body.classic-dark #imgMask {
    background: rgba(0, 0, 0, .9);
}

#imgMask img {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    max-width: 90%;
    max-height: 90%;
}

#imgMask .imgMaskClose {
    margin-top: 10px;
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

body.dark-body #imgMask .imgMaskClose,
body.classic-dark #imgMask .imgMaskClose {
    color: #fff;
}

#imgMask .imgMaskClose:hover {
    color: #E64E62
}

.noty_type_warning #button-1.noty-close-btn {
    margin-top: 15px;
    float: left;
    background: #26999e linear-gradient(90deg, #1f88a7, #0f7575, #197d82) !important;
}

.submit-finish-view {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.submit-finish-img {
    width: 180px;
    height: 180px;
    margin-bottom: 40px;
}

.submit-finish-text {
    margin-bottom: 35px;
}

.to-operate {
    text-align: center;
}

.to-operate a {
    width: 100px;
    height: 40px;
    border: 1px solid #F45D5D;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #F45D5D;
    margin: 0 28px;
    box-sizing: border-box;
}

.classic-dark .layout {
    background: #141417;
}

.dark-body .layout {
    background: #12161c;
}

.classic-dark .questionnaire_main .qu_item_input select,
.dark-body .questionnaire_main .qu_item_input select {
    background-color: #000;
}

/*loading*/
.loading_mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    justify-content: center;
    align-items: center
}

.spinner {
    margin: 0 auto;
    width: 50px;
    text-align: center;
}

.spinner>div {
    width: 10px;
    height: 10px;
    background-color: #e64e62;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.disclaimer {
    word-break: break-all;
    padding: 10px;
    margin-top: 20px;
    font-size: 12px;
}

.disclaimer a {
    color: var(--brandColor);
}

.disclaimer a:hover {
    color: var(--brandHoverColor);
}

.classic-dark div#questionnaireRoot {
    background: #000 !important;
}

.mantine-RadioGroup-radio {
    flex: 0 0 20px !important;
}