﻿body{
    position: relative;
}
.progress{
    overflow: visible;
    position: relative;
}
.progress .bar{
    position: relative;
    border-radius: 3px 0 0 3px;
    overflow: visible;
    
}
.progress .m-current-questionaire-num{
    color: #2e2b2b
}
.currentPosition{
    right:0;
}
.changePostion{
    left:0
}
.progress-rg-value {
    padding: 2px 3px;
    font-size: 12px;
    position: absolute!important;
    bottom: 16px;
    right: 0;
    transform: translateX(50%);
    text-align: center;
    font-style: normal;
    position: relative;
    height: 18px;
    line-height: 18px;
    min-width: 24px;
    color: #fff;
    background: #BD1E2F;
    border-radius: 3px;
}

.progress-rg-value::before {
    content: "";
    position: absolute;
    right: calc(50% - 10px);
    bottom: -5px;
    width: 0;
    height: 0;
    border-top: 8px solid #BD1E2F;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
}
/*开始答题*/
.questionnaire-desc {
    text-align: center;
    color: #2E2B2B;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.m-star-style,.star-style {
    color: #757575;
    font-size: 14px;
    padding: 0 21px;
}
/*边框*/
.m-border-style {
    border: 1px solid #BD1E2F !important;
}
/*组*/
.no-border {
    border: none !important;
    padding: 10px 0px 0px 0px !important;
}

/*单选*/
.m-questionnaire-title {
    font-size: 16px;
    font-weight: 400;
    color: #353B44;
    margin-bottom: 6px;
    word-break: break-all;
}
.answer-desc label{
    min-height:27px;
    line-height: 27px;
    margin-bottom: 0;
    word-break: break-all;
}
.answer-desc span.unit-class{
    font-weight: 400;
}
/* 选项中引入a标签需要换行 */
.answer-desc a{
    word-break: break-all;
}
/* 单选选项边框*/
.m-answer-list li {
    position: relative;
    padding: 6px 10px 6px 37px;
    border: 1px solid #C2C9D6;
    margin-bottom: 10px;
    color: #58606C;
    border-radius: 3px;
    transition: 1s;
}

.m-answer-list li label, .answer-ma-warp-district ul li label{
    cursor: auto;
 }
.m-answer-list li .num {
    display: inline-block;
    color: #fff;
    /* margin-left: 6px;
    margin-top: 1px; */
}
/*排序*/
.agentLi li label{
    margin-left: 8px;
    margin-top: 2px;
}

.m-answer-list .input-medium, .answer-ma-warp-district li .input-medium {
    width: 101.2%;
    height: 31px;
    margin-left: -24px;
}
.m-answer-list input[readonly],
input.input-medium[readonly]{
    background-color: #fff;
}
.r-list{
    position: relative;
}
.r-list li{
    position: absolute;
    transition: .3s;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
}
/*矩阵*/
.qsmatext {
    height: 31px !important;
    width: calc(100% - 14px);
    border-color: #C2C9D6 !important;
    text-indent: 8px;
}
.answer-desc{
    position:relative;
}
.answer-desc .select-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 20px;
    bottom: 9px;
}

.answer-ma-warp-district ul li {
    padding: 8px 10px 4px 37px;
    border: 1px solid #C2C9D6;
    margin-bottom: 10px;
    color: #58606C;
    border-radius: 3px;
    position: relative;
}

.answer-ma-warp{
    margin-bottom: 25px;
}
.answer-ma-warp .answer-desc {
    margin-bottom: 10px;
    display: block;
    word-break: break-all;
}
.label-style {
    float: left;
    margin-left: -22px;
}
/* ma题型label标签样式设置 */
.label-style-ma{
    float:none;
    margin-left: -24px;
}
.qsmaiddl {
    width: 107%;
    height: 41px;
    margin-left: -24px;
}


/*未选择选项错误提示*/
.errorshow {
    width: 90%;
    padding-left: 9%;
    height: 36px;
    background: #FFE3E3;
    color: #F14040;
    line-height: 36px;
    display: inline-block;
    position: relative;
    font-size: 14px;
}
.errorinfo {
    display: block;
    line-height: 24px;
    color: #F14040;
    background: #fdeded;
    /* border: 1px solid #ffe0e4; */
    box-sizing: border-box;
    font-size: 14px;
    margin-top:5px;
}
.error-icon {
    width: 14px;
    height: 14px;
    background: url('../js/bootstrap/skins/square/error-icon.png') no-repeat;
    background-size: contain;
    display: inline-block;
    margin: 0px 4px -2px 0px;
}


/*按钮*/
.m-questionnaire-button-previous {
    margin: 0 5%;
    background: rgba(255, 255, 255, 1);
    height: 46px;
    border-radius: 8px;
    border: 1px solid #EB5B6A;
    color: rgba(189, 30, 47, 1);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    cursor: none !important;
}

.m-questionnaire-button-previous:active {
    background: rgba(189, 30, 47, 0.2);
}

.m-questionnaire-button-next {
    flex: 1;
    margin: 0 5%;
    background: #BD1E2F;
    height: 46px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    color: #fff;
    cursor: none !important;
}
.m-questionnaire-button-next:active{
    background: #960B19;
}

.button-district {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    align-items: center;
    max-width: 880px;
    margin: 0 auto;
}
.button-district input{
    max-width: 880px;
}

/*上传文件*/
    .my-upload {
    width: 105px;
    height: 105px;
    margin: 4px 0px 10px -15px;
}
.m-answer-list .my-upload-text {
    margin-left: -15px !important;
    width: 100%;
}
/*评分题*/
.answer-rg-desc {
    font-size: 14px;
    color: #757575;
}
.answer-rg .select-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 20px;
    bottom: 9px;
}
    .rgsrc-container {
        width: 100%;
        margin-top: 22px;
        margin-bottom: 10px;
        float: left
    }
.rgsrc span {
    background: #f5f5f5;
    border-radius: 100%;
    border: 1px solid #ccc;
    box-shadow: 0 1px 0 0 #c4c4c4;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: -5px;
    cursor: pointer;
    transition: .1s;
}
.rgsrc {
    background: #EAEAEA;
    border-radius: 5px;
    width: 100%;
    height: 14px;
    position: relative;
    font-size: 0;
    box-shadow: 1px 1px 1px #c4c4c4 inset;
    margin-top: 20px
}

    .rgsrc div {
        background-color: #BD1E2F;
        background-repeat: repeat-x;
        border-radius: 5px;
        position: absolute;
        width: 0;
        height: 14px;
        left: 0;
        top: 0;
        transition: .1s;
    }
    .rgsrc div.default-selected-area{
        background-color: #c3c3c3;
    }
.rgdrw_content {
    width: 100%;
    color: #9BA0A7;
    font-size: 12px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.answer-rg {
    margin-bottom: 20px;
}
.answer-rg-value {
    padding: 2px 5px;
    font-size: 12px;
    top: -38px;
    box-sizing: border-box;
    text-align: center;
    font-style: normal;
    position: relative;
    height: 22px;
    display: inline-block;
    min-width: 20px;
    color: #fff;
    background: #BD1E2F;
    border-radius: 3px;
    transition: .1s;
}
    .answer-rg-value::before {
        content: "";
        position: absolute;
        right: calc(50% - 8px);
        bottom: -5px;
        width: 0;
        height: 0;
        border-top: 6px solid #BD1E2F;
        border-right: 8px solid transparent;
        border-left: 8px solid transparent;
    }
    /*划片*/
.answer-rg li {
    float: none;
}
.rgdrw span.drw-on {
    background: #BD1E2F;
    color: #fff;
}
.rgdrw span {
    float: left;
    background: #eee;
    min-width: 8%;
    margin-right: 1%;
    margin-bottom: 5px;
    padding: 3px 0;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    border-radius: 2px;
    cursor: pointer;
}
.rgdrw span:nth-child(11n),
.rgdrw span:last-child{
    margin-right: 0;
}
.rgdrw {
    margin: 5px 0px;
    /* overflow: hidden; */
}

.rgdrw_content span{
    margin-right:2%;
}
.rgdrw_content span:last-child{
    margin-right: 0;
}
/*图标*/
.rgicn {
    width: 100%;
    float: left;
    margin-bottom: 5px;
    margin-top: 5px;
    /* overflow: hidden; */
    border: 1px solid #C2C9D6;
    border-radius: 3px;
    padding: 8px 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.rgicn span {
    height: 25px;
    width: 25px;
    text-align: center;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    background: url(/images/stars_0.png) no-repeat;
    background-size: contain;

}
.icn-on {
    background: url(/images/stars_1.png) no-repeat !important;
    background-size: contain !important;
    color: #fff
}
.animate_last {
    animation: mymove 1.5s 1;
    -webkit-animation: mymove 1.5s 1;
}
@keyframes mymove {
    0% {
        transform: scale(0.5,0.5)
    }
    50% {
        transform: scale(1.5,1.5)
    }   
    100% {
        transform: scale(1,1)
    }
}

@-webkit-keyframes mymove /*Safari and Chrome*/
{
    0% {
        transform: scale(0.5,0.5)
    }

    50% {
        transform: scale(1.5,1.5)
    }

    100% {
        transform: scale(1,1)
    }
}

/*级联*/
.cascade{
    border: none !important;
    padding: 0px !important;
}
.cascade .auto {
    width: 100%;
    height: 41px;
    border-radius: 0px !important;
}
.dr-list .dr_select{
    width: 100%;
    box-sizing: border-box;
    height: 41px;
    margin-left: 0;
}
select.auto:focus {
    outline: none;
}
/*手机验证*/
.phone, .verification-code {
    position: relative;
    width: 100%;
    margin-bottom: 13px
}
.phone-input {
    width: calc(100% - 47px);
    height: 31px !important;
    padding-left: 39px !important;
}
.sysp_dr_select, .dr_select {
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-indent: 10px;
}

.phone-img {
    position: absolute;
    top: 14px;
    left: 15px;
    width: 11px;
    height: 16px;
    display: inline-block;
    background: url('../images/phone.png');
    background-size: contain;
}

.verification-code-input {
    height: 31px !important;
    width: calc(58% - 20px);
}
.verification-code-btn {
    height: 41px !important;
    width: 42% !important;
    background: #fff;
    border: 1px solid rgba(194, 201, 214, 1);
    border-radius: 4px;
}
/*遮罩*/
.mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    display: none;
    text-align: center;
}
/*错误提示*/
.data-error {
    display: none;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    position: relative;
    text-align: center;
}
.data-error-bg {
    position: absolute;
    width: 197px;
    height: 197px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}
.data-error img {
    top: -75px;
    position: absolute;
    z-index: 11111;
    width: 73px;
    height: 73px;
}
.data-error span {
    top: 20px;
    position: absolute;
}
/*错误页面返回按钮样式*/
.m-error-page-back-button {
    width:120px;
    height: 42px;
    line-height: 42px;
    border-radius: 5px;
    background-color: #dbdbdb;
    color: #fff;
    margin: 50px auto 0;
}
.placeholder-text{
    resize:none;
}
textarea.placeholder-text{
    height: auto!important;
}
/* 哑题选项被选中的样式 */
.m-du-type,
.m-du-type.checked{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: block;
    width: 100%;
    height: 100%;
    background:none!important;
}
.m-du-type input{
    width: 100%;
    height: 100%;
    visibility: hidden;
}
.m-du-type.checked{
    content:'';
    position: absolute;
    top: -1px;
    left: -1px!important;
    right: -1px;
    bottom: -1px;
    visibility: visible;
    width: 100%;
    height: 100% ;
    border: 1px solid #BD1E2F;
    border-radius: 3px;
}
/* bootstrap中验证失败的样式去除 */
input:focus:invalid:focus, 
textarea:focus:invalid:focus, 
select:focus:invalid:focus{
    box-shadow: none;
    border: 1px solid #C2C9D6;
    color: #555;
}
/* 移动端使用layer弹框样式修改 */
.layui-m-layer0 .layui-m-layer-mobile-dialog {
    max-height:80vh;
    min-height:300px;
    overflow:auto;
}



:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1
}

.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.animate__animated.animate__infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite
}

.animate__animated.animate__repeat-1 {
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: var(--animate-repeat);
    animation-iteration-count: var(--animate-repeat)
}

.animate__animated.animate__repeat-2 {
    -webkit-animation-iteration-count: 2;
    animation-iteration-count: 2;
    -webkit-animation-iteration-count: calc(var(--animate-repeat)*2);
    animation-iteration-count: calc(var(--animate-repeat)*2)
}

.animate__animated.animate__repeat-3 {
    -webkit-animation-iteration-count: 3;
    animation-iteration-count: 3;
    -webkit-animation-iteration-count: calc(var(--animate-repeat)*3);
    animation-iteration-count: calc(var(--animate-repeat)*3)
}

.animate__animated.animate__delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    -webkit-animation-delay: var(--animate-delay);
    animation-delay: var(--animate-delay)
}

.animate__animated.animate__delay-2s {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-delay: calc(var(--animate-delay)*2);
    animation-delay: calc(var(--animate-delay)*2)
}

.animate__animated.animate__delay-3s {
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    -webkit-animation-delay: calc(var(--animate-delay)*3);
    animation-delay: calc(var(--animate-delay)*3)
}

.animate__animated.animate__delay-4s {
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
    -webkit-animation-delay: calc(var(--animate-delay)*4);
    animation-delay: calc(var(--animate-delay)*4)
}

.animate__animated.animate__delay-5s {
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
    -webkit-animation-delay: calc(var(--animate-delay)*5);
    animation-delay: calc(var(--animate-delay)*5)
}

.animate__animated.animate__faster {
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-duration: calc(var(--animate-duration)/2);
    animation-duration: calc(var(--animate-duration)/2)
}

.animate__animated.animate__fast {
    -webkit-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-duration: calc(var(--animate-duration)*.8);
    animation-duration: calc(var(--animate-duration)*.8)
}

.animate__animated.animate__slow {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-duration: calc(var(--animate-duration)*2);
    animation-duration: calc(var(--animate-duration)*2)
}

.animate__animated.animate__slower {
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-duration: calc(var(--animate-duration)*3);
    animation-duration: calc(var(--animate-duration)*3)
}

@media (prefers-reduced-motion:reduce),
print {
    .animate__animated {
        -webkit-animation-duration: 1ms !important;
        animation-duration: 1ms !important;
        -webkit-animation-iteration-count: 1 !important;
        animation-iteration-count: 1 !important;
        -webkit-transition-duration: 1ms !important;
        transition-duration: 1ms !important
    }

    .animate__animated[class*=Out] {
        opacity: 0
    }
}

@-webkit-keyframes bounce {

    0%,
    10%,
    53%,
    to {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
        transform: translate3d(0, -30px, 0) scaleY(1.1)
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
        transform: translate3d(0, -15px, 0) scaleY(1.05)
    }

    80% {
        -webkit-transform: translateZ(0) scaleY(.95);
        transform: translateZ(0) scaleY(.95);
        -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
        transform: translate3d(0, -4px, 0) scaleY(1.02)
    }
}

@keyframes bounce {

    0%,
    10%,
    53%,
    to {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, .6);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -30px, 0) scaleY(1.1);
        transform: translate3d(0, -30px, 0) scaleY(1.1)
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        animation-timing-function: cubic-bezier(.755, .05, .855, .06);
        -webkit-transform: translate3d(0, -15px, 0) scaleY(1.05);
        transform: translate3d(0, -15px, 0) scaleY(1.05)
    }

    80% {
        -webkit-transform: translateZ(0) scaleY(.95);
        transform: translateZ(0) scaleY(.95);
        -webkit-transition-timing-function: cubic-bezier(.215, .61, .355, 1);
        transition-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0) scaleY(1.02);
        transform: translate3d(0, -4px, 0) scaleY(1.02)
    }
}
.animate__bounce {
    -webkit-animation-name: bounce;
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-duration: calc(var(--animate-duration)*0.5);
    animation-duration: calc(var(--animate-duration)*0.5);
}

@-webkit-keyframes heartBeat {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    40% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }


    70% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes heartBeat {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }

    40% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3)
    }


    70% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}
.icheckbox_square-grey.checked:active,
.icheckbox_square-grey.checked:focus,
ul.m-answer-list .answer-desc:active .icheckbox_square-grey.checked,
ul.m-answer-list .answer-desc:focus .icheckbox_square-grey.checked,
.iradio_square-grey.checked:active,
.iradio_square-grey.checked:focus,
ul.m-answer-list .answer-desc:active .iradio_square-grey.checked,
ul.m-answer-list .answer-desc:focus .iradio_square-grey.checked,
.answer-ma-warp ul li:active .iradio_square-grey.checked,
.answer-ma-warp ul li:focus .iradio_square-grey.checked,
.answer-ma-warp ul li:active .icheckbox_square-grey.checked,
.answer-ma-warp ul li:focus .icheckbox_square-grey.checked,
.animate__heartBeat{
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-duration: calc(var(--animate-duration)*0.4);
    animation-duration: calc(var(--animate-duration)*0.4);
    -webkit-animation-name: heartBeat;
    animation-name: heartBeat;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out
}
.icheckbox_square-grey input[type='checkbox'],
.iradio_square-grey input[type='radio'],
.rgicn span{
    cursor: auto;
}
