

.autosurvey-exit {
    position: absolute;
    top: -30px;
    right: -40px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #555555;
    color: #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    cursor: pointer;
}
.autosurvey-info {
    line-height:normal;
    font-size:13px;
    margin-top:15px;
}
.autosurvey-finish-container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 20px;
    background-color: #FFFFFF;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}
body.autosurvey-finish .autosurvey-finish-container{
    opacity: 1;
    visibility: visible;
}
.autosurvey-finish-content{
    text-align: center;
}
.autosurvey-content small{
    color: red;
    font-weight: bold;
    opacity: 0;
    visibility: hidden;
    margin: 5px 0;
    transition: .3s ease;
}
.autosurvey-content.autosurvey-error small{
    visibility: visible;
    opacity: 1;
}
.autosurvey-content.autosurvey-error textarea{
    border-color:#bd0013;
}
body.autosurvey-active .autosurvey-bg,body.autosurvey-finish .autosurvey-bg{
    opacity: .3;
    visibility: visible;
    display:block
}
body.autosurvey-active .autosurvey-container{
    opacity: 1;
    visibility: visible;
    display:block
}
.autosurvey-container-in::-webkit-scrollbar {
    width: 5px;
}

.autosurvey-container-in::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.autosurvey-container-in::-webkit-scrollbar-thumb {
    background-color: #bd0013;
}

.autosurvey-container-in.active{
    opacity: 1;
    left: 0;
    visibility: visible;
}
.autosurvey-content + .autosurvey-content{
    margin-top: 20px;
}
.autosurvey-options{
    
    margin-top: 10px;
}
.autosurvey-container-in{
    left: -10px;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px 15px;
    position: absolute;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    max-height: 80vh;
    overflow-y: auto;
}
.autosurvey-pagination{
    position: absolute;
    bottom: 25px;
    right: 10px;
    display: flex;
}
.autosurvey-pagination li{
    padding: 0 10px;
    position: relative;
}
.autosurvey-pagination li:first-child{
    font-weight: bold;
}
.autosurvey-pagination li:last-child:before{
    content:"/";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -2px;
    font-weight: bold;
}
.autosurvey-bg{
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 998;
    opacity: .4;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    display:none
}
.autosurvey-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    border-radius: 0.33rem;
    box-shadow: 0 0 12px rgb(0 0 0 / 29%);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: white;
    width: 30%;
    box-sizing: content-box;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: .1s ease;
    display:none
}
.autosurvey-container h5{
    line-height: normal;
    font-size: 1rem;
    font-weight: bold;
}

.autosurvey-option-content{
    margin-bottom: 20px;
    line-height: normal;
    padding-left: 35px;
    position: relative;
    cursor: pointer;
}
.autosurvey-option-content:before{
    content:"";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #bd0013;
}
.autosurvey-option-content:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #bd0013;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}
.autosurvey-option-content.active:after {
    opacity: 1;
    visibility: visible;
}
.autosurvey-option-content:last-child{
    margin: 0;
}
.autosurvey-submit{
    margin-top: 0;
    display: inline-block;
    padding:10px;
    background-color: #bd0013;
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: .33rem;
}
.autosurvey-submit i{
    padding-left: 5px;
}

.autosurvey-container:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:#FFFFFF;
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    z-index: 1;
}
.autosurvey-container.autosurvey-submitting:before{
    opacity: .8;
    visibility: visible;
    z-index: 1;
}

.autosurvey-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    z-index: 2;
}
.autosurvey-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(0deg);
    width: 30px;
    transition: .3s ease;
}
.autosurvey-container.autosurvey-submitting .autosurvey-icon img{
    animation: autosurveySubmitting 1s ease infinite;
}

@keyframes autosurveySubmitting {
    0%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

@media(max-width:999px){
    .autosurvey-container h5{
        font-size:.9rem
    }
    .autosurvey-option-content{
        font-size:14px
    }
    .autosurvey-exit{
        top: -40px;
        right: 0px;
    }
    .autosurvey-finish-container{
        width:80%;
    }
    .autosurvey-finish-content h2{
        line-height:normal;
    }
}