﻿@charset "utf-8";
/* 问卷调查-列表页 ----------------------------------------------------- */
.surveyCommonList li {
    padding: 10px 0;
    margin: 0 5px;
    border-bottom: 1px dotted #ccc;
    overflow: hidden;
    padding-left: 34px;
    background: url(../img/list.png) 8px 16px no-repeat #fff;
    overflow: hidden;
    font-size: 16px;
}
.surveyCommonList .tit {
	font-size: 16px;
    overflow: hidden;
    padding-right: 10px;
    line-height: 25px;
}
.surveyCommonList .dates {
    display: block;
    color: #999;
}
.surveyCommonList .dates span {
    margin-right: 20px;
}
.surveyCommonList .btns {
    float: right;
}
.surveyCommonList .btns a {
    float: right;
    margin-left: 5px;
    height: 22px;
    line-height: 22px;
    background: #fff;
    border: 1px solid #05c224;
    padding: 0 10px;
    color: #05c224;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.surveyCommonList .btns a:hover {
    background: #e8f3ea;
    text-decoration: none;
}
.surveyCommonList .btns .over {
    color: #ccc !important;
    border-color: #ddd !important;
}
.surveyCommonList .btns .over:hover {
    background: #f3f3f3;
}

/* 问卷调查默认模板 ---------------------------------------------- */
#SurveyBox {
    padding: 40px;
}
#SurveyBox .title {
    padding: 0 0 25px 0;
    font: normal 30px/1.5 "Microsoft YaHei", 'PingFang SC';
    text-align: center;
    color: #333;
}
#SurveyBox .description {
    padding: 20px;
    text-indent: 24px;
    font-size: 14px;
    background: #fff;
    margin-bottom: 20px;
    border: 1px dotted #ddd;
}
#SurveyBox .required {
    color: red;
}
.formItem dt {
    font-size: 16px;
    border-bottom: 1px dotted #ddd;
    padding: 10px 0;
}
.formItem .formItemNum,
.formItem .formItemTitle {
    font-weight: bold;
}
.formItem .formItemDescription {
    display: block;
    font-size: 14px;
    color: #777;
    line-height: 24px;
    padding: 5px 0px;
}
.formItem dd {
    padding: 15px 0 15px 20px;
    line-height: 24px;
}
.formItem dd li {
    padding: 3px 0;
    line-height: 34px;
}
.formItem input[type="text"],
.formItem input[type="number"],
.formItem select,
.formItem textarea {
    display: block;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;    
    box-shadow: inset 0 1px rgb(0 0 0 / 8%);
    box-sizing: border-box;
    overflow: hidden;
}
.formItem input[type="text"] {
    width: 80%;
}
.formItem textarea {
    width: 80%;
    height: auto;
}
.formItem input.otherInput {
    display: inline-block;
    width: 200px;
    margin-left: 10px;
}
.formItem input[data-ui-type="datepicker"],
.formItem input[data-ui-type="datetimepicker"] {
    width: 200px;
    background: url(../img/icon-date.png) 170px 50% no-repeat;
}
.formItem input[type="text"]:focus,
.formItem textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
        0 0 8px rgba(102, 175, 233, 0.6);
}

#SurveyBox .code {
    line-height: 30px;
    margin-top: 20px;
    height: 38px;
}
#SurveyBox .code input[type="text"] {
    width: 120px;
    border: 1px solid #ccc;
    height: 30px;
    padding: 0 10px;
    float: left;
    margin-right: 10px;
}
#surveySubmit {
    padding: 25px 0 15px 0;
    text-align: center;
}
#surveySubmit a,
#surveySubmit input {
    padding: 0 15px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 15px;
    background: #eee;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #333;
    font-family: "Microsoft YaHei", 'PingFang SC';
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eee));
    background: -moz-linear-gradient(#ffffff, #eee);
    background: -ms-linear-gradient(#ffffff, #eee);
    background: -o-linear-gradient(#ffffff, #eee);
    background: linear-gradient(#ffffff, #eee);
}
#surveySubmit input {
    cursor: pointer;
    height: 38px;
}
#surveySubmit a:hover,
#surveySubmit input:hover {
    color: #c00;
    border: 1px solid #aaa;
    text-decoration: none;
}

.field-validation-error {
    color: #f00;
    font-weight: normal;
    margin-left: 10px;
}

/* 地理位置 */
#SurveyBox .location-box{
    max-width: 600px;
}
#geolocation{
    min-height: 300px;
}
#SurveyBox .location-info>div{
    margin-bottom: 10px;
}
#SurveyBox .location-info input[type="button"]{
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    background-color: #fafafa;
}
#SurveyBox .location-info input[type="button"]:hover{
    background-color: #eaeaea;
}
#SurveyBox .location-info input[type="text"]{
    display: inline-block;
    width: 202px;
    margin-right: 10px;
}
#SurveyBox .location-search{
    position: relative;
}
#SurveyBox .location-search input[type="text"]{
    width: 100%;
    padding-right: 80px;
}
#SurveyBox .location-search input[type="button"]{
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
}


/* 问卷调查结果页模板 */
.surveyResult {
    padding: 40px;
}
.surveyResult .row {
    margin-bottom: 20px;
    overflow: hidden;
}
.surveyResult .row .titleInfo {
    overflow: hidden;
    padding: 0 10px;
    border: 1px solid #e5e5e5;
}
.surveyResult .row .titleInfo i {
    margin: 12px 10px 0 0;
    color: #3776b6;
    font-size: 14px;
}
.surveyResult .row .titleInfo .title {
    height: 37px;
    line-height: 38px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    color: #3776b6;
    font-weight: bold;
}
.surveyResult .row .titleInfo .time {
    height: 38px;
    line-height: 38px;
    text-align: center;
    font-size: 12px;
    color: #3776b6;
}
.surveyResult .row .titleInfo .time span {
    margin: 0px;
}
.surveyResult .row .titleInfo .time span.spe {
    margin: 0 20px;
}
.surveyResult .row .message {
    width: 50%;
    float: right;
}
.surveyResult .row .message ul {
    display: block;
    overflow: hidden;
}
.surveyResult .row .message ul li {
    float: left;
    height: 78px;
    line-height: 78px;
    background-color: #55badf;
    width: 45%;
    margin-left: 5%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    padding-left: 5%;
    box-sizing: border-box;
}
.surveyResult .row .message ul li .fa {
    font-size: 35px;
    vertical-align: middle;
}
.surveyResult .row .message ul li strong {
    font-weight: normal;
    font-size: 32px;
    margin: 0 10px;
    vertical-align: middle;
}
.surveyResult .row .message ul li.ans {
    background-color: #7e66cc;
}
.surveyResult .graphPater {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}
.surveyResult .graphTitle {
    border-bottom: 1px solid #e5e5e5;
    height: 40px;
    background: #f9f9f9;
    padding: 0 16px;
}
.surveyResult .resultTitle {
    float: left;
    height: 40px;
    line-height: 40px;
    color: #3776b6;
}
.surveyResult .resultTitle i {
    margin-right: 5px;
}
.surveyResult .resultType {
    float: right;
    height: 40px;
    line-height: 40px;
}
.surveyResult .resultType label {
    float: left;
    margin-left: 20px;
}
.surveyResult .resultType span {
    float: left;
    color: #3776b6;
    margin-left: 3px;
}
.surveyResult .graphContent {
    padding: 20px;
    overflow: hidden;
}
.surveyResult .graph {
    height: 280px;
    width: 48%;
    float: left;
    margin-right: 20px;
}
.surveyResult .options {
    overflow: hidden;
}
.surveyResult .options table {
    width: 100%;
    border: 1px solid #e5e5e5;
}
.surveyResult .options table th,
.surveyResult .options table td {
    border: 1px solid #e5e5e5;
    text-align: center;
    padding: 7px 5px;
    line-height: 22px;
}
.surveyResult .options table th {
    font-weight: bold;
    background: #f9f9f9;
}
.surveyResult .options hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.surveyResult .noResult {
    font-size: 20px;
    line-height: 58px;
    border-bottom: 1px solid #ececec;
}
#choice {
    padding: 25px 0 15px 0;
    text-align: center;
}
#choice a {
    padding: 0 15px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 15px;
    background: #eee;
    border: 1px solid #ccc;
    font-size: 14px;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eee));
    background: -moz-linear-gradient(#ffffff, #eee);
    background: -ms-linear-gradient(#ffffff, #eee);
    background: -o-linear-gradient(#ffffff, #eee);
    background: linear-gradient(#ffffff, #eee);
}
#choice a:hover {
    color: #c00;
    border: 1px solid #aaa;
    text-decoration: none;
}

/*  ---------------------------------------------- */
.surveyQA table {
    border: 1px solid #d8d8d8;
    width: 100% !important;
}
.surveyQA table td {
    text-align: left;
}
.surveyQA table table {
    border: 0;
}
.surveyQA table table td {
    padding: 10px 20px;
    border-bottom: 1px dotted #d8d8d8;
}
.surveyQA table td div {
    padding-bottom: 20px;
}

/*时间选择 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

/*时间选择左右箭头定义*/
.dropdown-menu {
    max-height: 315px;
    overflow-y: auto;
}
.dropdown-menu .menu-search {
    display: inline-block;
    width: 75%;
    margin-left: 5px;
}

.surveyCommonList .dates .participation {
    float: right;
    margin-left: 5px;
    height: 22px;
    line-height: 22px;
    text-decoration: none;
    border: 1px solid #999;
    padding: 0 10px;
    color: #999;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: default;
}


/* 显示图标样式 */
#SurveyBox .star-list{
    max-width: 100%;
    padding: 8px 0;
}
#SurveyBox .star-list .fa {
    width: 30px;
    display: inline-block;
    text-align: center;
    font-size: 28px;
    margin: 0px 3px 8px;
    color: rgb(216, 216, 216);
    cursor: pointer;
}
#SurveyBox .star-list .fa.active {
    color: rgb(255, 168, 0);
}
#SurveyBox .star-list .fa-power-starflag.active {
    color: rgb(255, 6, 6);
}

#SurveyBox .star-list .fa-power-starheart.active {
    color: rgb(255, 109, 86);
}

#SurveyBox .star-list .fa-power-starlike.active {
    color: rgb(38, 114, 255);
}

/* 评价题 */
#SurveyBox .item-tip-tag{
    padding-top: 10px;
}
#SurveyBox .item-tip{
    font-size: 12px;
    line-height: 1.6;
    color: rgb(255, 168, 0);
}
#SurveyBox .item-tag-list{
    padding-top: 12px;
}
#SurveyBox .item-tag{
    display: inline-block;
    white-space: nowrap;
    margin-bottom: 5px;
    margin-right: 6px;
    padding: 5px 6px;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    line-height: 12px;
    background: #fff;
    font-size: 12px;
    color: #aaa
}

/* 打分题 */
#SurveyBox .item-inline{
    display: inline-block;
}
#SurveyBox .item-set-tip{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    line-height: 21px;
    font-size: 12px;
    color: #aaa;
}

/*NPS题*/
#SurveyBox .nps-radius-list{
    padding: 8px 0;
}
#SurveyBox .nps-radius {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 8px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    font-size: 18px;
    color: #9b9b9b;
    cursor: pointer;
}
#SurveyBox .nps-radius.active{
    border-color: #3776b6;
    background-color: #3776b6;
    color: white;
}

/* 比重题 */
#SurveyBox .item-total{
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #999;
}
#SurveyBox .item-option-list{
    padding-top: 6px;
}
#SurveyBox .item-option-list .item-option-title{
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}
#SurveyBox .item-option-list .item-option{
    padding-top: 8px;
}
#SurveyBox .item-option-list .item-option-proportion{
    padding-bottom: 8px;
    display: flex;
}
#SurveyBox .item-option-list .input-number{
    margin-bottom: -3px;
    padding-top: 8px;
    padding-right: 10px;
    width: 48px;
    height: 32px;
}
#SurveyBox .item-option-list .input-number input[type="text"]{
    padding: 4px;
    height: 32px;
    line-height: 12px;
    text-align: center;
}
#SurveyBox .item-option-list .item-option-slider{
    display: inline-block;
    width: 320px;
    max-width: 90%;
}

#SurveyBox .item-option-list .option-number{
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: #999;
}
#SurveyBox .item-option-list .option-bar{
    display: block;
    position: relative;
    margin-top: 5px;
}

/* 排序题 */
#SurveyBox #sortable-list li{
    cursor: pointer;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6px 6px 6px 0;
    transition: .5s;
}
#SurveyBox #sortable-list li .num{
    align-items: center;
    background: #eff1f4;
    border-radius: 100%;
    color: #333;
    display: flex;
    flex-shrink: 0;
    font-size: 13px;
    height: 18px;
    justify-content: center;
    margin-right: 8px;
    width: 18px;
    overflow: hidden;
    text-indent: -999px;
}
#SurveyBox #sortable-list li.active .num{
    color: white;
    background-color: #3776b6;
    border-color: #3776b6;
    text-indent: 0;
}

/* 图片选择 */
#SurveyBox .multiuploadimages-list ul{
    display: flex;
    align-items: stretch;
}
#SurveyBox .multiuploadimages-list li{
    display: flex;
    flex-direction: column;
}
#SurveyBox .multiuploadimages-list li:hover{
    background: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, .6);
    border: 1px solid transparent;
}
#SurveyBox .multiuploadimages-list li .imgWrap{
    box-sizing: border-box;
}
#SurveyBox .multiuploadimages-list li:hover .imgWrap {
    background: white;
    border:1px solid #e5e5e5;
    box-shadow: none;
}
#SurveyBox .multiuploadimages-list li .tip{
    flex: 1;
    padding: 5px;
    border-radius: 0 0 4px 4px;
    background-color: #fafafa;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-top:0;
}
#SurveyBox .multiuploadimages-list li:hover .tip{
    background-color: #f0f0f0;
}
#SurveyBox .multiuploadimages-list li .tip input{
    float: left;
    margin-right: 6px;
    margin-top: 3px;
}
#SurveyBox .multiuploadimages-list li .tip .txt{
    overflow: hidden;
    line-height: 20px;
}
/* 分割线 */
#SurveyBox .hr{
    border: none;
    margin: 20px 0 25px;
    border-top: 1px solid #ddd;
}

/* 多项填空 */
#SurveyBox .item-fillInTheBlank{
    line-height: 34px;
}
#SurveyBox .item-fillInTheBlank input[type="text"]{
    display: inline-block;
    width: 132px;
    margin: 0 8px 8px;
}