.outter-box .nav{
    margin: 0 auto;
}
.write{
    margin-top: 12px;
    background: #FFF;
    padding: 30px 0;
}
.write .cke_chrome{
    border: 1px solid #ccc;
}
/*所有题型通用格式*/
.write .type{
    width: 90%;
    margin: 0 auto;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 600;
    color: #606060;
    background: #F4F4F4;
}
.write .box{
    width: 75%;
    margin: 50px 8%;
    position: relative;
}
.write .box .layui-form-label{
    font-size: 16px;
    color: #000;
    line-height: 22px;
    width: 48px;
    text-align: right;
    padding: 9px 0;
}
.layui-input-block .layui-textarea {
    min-height: 150px;
}
.box .layui-input-block{
    margin-left: 65px;
}
.box .layui-form-item{
    margin-bottom: 30px;
}
.box .answer .layui-form-label{
    color: #606060;
}
.box .answer-left{
    margin-right: 1.5%;
}
.answer-left>div{
    margin-bottom: 10px;
}
.answer p{
    margin: 20px 38px 10px 15px;
    font-size: 14px;
    color: #606060;
}
.answer-left p:last-child{
    padding: 10px 0;
    margin: 0 !important;
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
    background: #FFF;
    border: none;
    border-top:1px solid #E9E9E9;
}
.answer-left p span:last-child{
    float: right;
}
.answer-left .layui-form-item{
    margin: 10px 15px !important;
}
.answer-left>div>a{
    display: block;
    margin-left: 44px;
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
}
/*添加选项*/
.answer-left>p>a{
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
}

/*不同题型之间格式差别是`答案`部分，即有无answer-right*/

/*单选题 删除选项公用接口 */
.delete-option{
    float: left;position:relative;z-index: 1000;width: 5%;cursor: pointer;
}
.delete-option>i{
    color: #D8D8D8;
}
.delete-option:hover>i{
    color: #ED3200;
}
.radio-answer li>input[type='radio']{
    display: inline-block;
    float: left;
    margin-top: 20px;
}
/*匹配题*/
.matching .box .answer>ul{
    display: inline-block;
    width: 49%;
    background: #F4F4F4;
}
.matching .box .answer>ul li{
    height: auto;
    line-height: inherit;
    border: none;
}
.matching .answer-left input{
    width: 94%;
    display: inline-block;
}
.matching .answer .layui-form-label{
    text-align: left;
}
.matching  input[name='option']{
    width: 78%;
    display: inline-block;
}
.matching  input[name='rank']{
    width: 16%;
    display: inline-block;
    margin-left: -7px;
}
.matching .answer .layui-form-label{
    text-align: left;
}
.matching .answer .add>img{
    max-width: 34px;
}
.matching .answer .add>i{
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 16px;
    cursor: pointer;
    color: #ED3200;
}
.matching .answer .add{
    position: relative;
    width: 80px;
    margin-left: 46px;
    cursor: pointer;
}
.matching .answer .add>img{
    max-width: 80px;
}
.matching .answer .add input[type='file']{
    top: 0;
}
.matching .answer .add .addimg span{
    color: #8489A2;
}

/*排序题*/
.ranking .box .answer>ul{
    display: inline-block;
    width: 100%;
    background: #F4F4F4;
}
.ranking .box .answer>ul li{
    height: auto;
    line-height: inherit;
    border: none;
}
.ranking .box .answer>ul li:nth-of-type(n),.matching .box .answer>ul li:nth-of-type(n){
    padding-bottom: 10px;
}
.ranking .answer-left input[name='option']{
    width: 90%;
    display: inline-block;
}
.ranking .answer-left input[name='rank']{
    width: 8%;
    display: inline-block;
    margin-left: -7px;
}
.ranking .answer .layui-form-label{
    text-align: left;
}
.ranking .answer .add>img{
    max-width: 34px;
}
.ranking .answer .add>i{
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 16px;
    cursor: pointer;
    color: #ED3200;
}
.ranking .answer .add{
    position: relative;
    width: 80px;
    margin-left: 46px;
}
.ranking .answer .add>img{
    max-width: 80px;
}
.ranking .answer .add input[type='file']{
    top: 0;
}
.ranking .answer .add .addimg span{
    color: #8489A2;
}

/*填空题*/
.filling form>p{
    opacity: 0.5;
    font-size: 14px;
    color: #606060;
    padding-left: 65px;
    margin-bottom: 10px;
    margin-top: 50px;
}
.filling .box .answer>div{
    display: inline-block;
    width: 100%;
    background: #F4F4F4;
}
.filling .answer-left input{
    width: 90%;
    display: inline-block;
}
.filling .answer-left .layui-form-item{
    margin: 0 !important;
    padding: 20px 49px 0 15px;
}
.filling .answer-left .layui-form-item:nth-child(3){
    padding: 20px 15px 0 15px;
}
.filling .answer .layui-form-item{
    clear: none;
}
.filling .first{
    margin-bottom: 0;
    padding: 0 0 16px;
}
.filling .second{
    margin-bottom: 20px;
}
.filling .answer  .layui-form-label{
    text-align: left;
}
.box .answer .tk-answer li{
    height: auto;
    line-height: inherit;
    border: none;
}
.tk-answer li:nth-child(3)>div{
    width: 185px;
}

/*多选题*/
.box .answer>div{
    display: inline-block;
    width: 100%;
    background: #F4F4F4;
}
.box .answer input[type=checkbox],.box .answer .layui-form input[type=radio]{
    display: block;
    float: left;
    margin-top: 20px;
    width: 2%;
}
.box .answer li{
    height: 54px;
    line-height: 54px;
    border: 1px solid #FFF;
}
.box .answer>p{
    font-size: 12px;
    color: #2580C2;
    letter-spacing: 0;
    margin-left: 52px;
    margin-top: 10px;
}
.box .answer .options{
    display: block;
    float: left;
    margin-left: 20px;
    width: 90% ;
    height: 100%;
    border: 1px solid #E9E9E9;
    background: #F4F4F4;
}
.box .options .order{
    width: 4%;
    height: 26px;
    margin: 14px 0 14px 15px;
    line-height: 26px;
    float: left;
}
.box .options .words{
    width: 81%;
    height: 36px;
    background: #FFF;
    float: left;
    margin: 9px 17px 9px 0;
}
.box .options .add{
    position: relative;
    right: 0;
    float:left;
}
.box .options .add>img{
   max-width: 34px;
}
.box .options .add>i{
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 16px;
    cursor: pointer;
    color: #ED3200;
}
.box .add  span{
    font-size: 12px;
    color: #2580C2;
    cursor: pointer;
    z-index: -1
}
.box .add input{
    width: 100%;
    position: absolute;
    left: 0;
    top: 14px;
    cursor: pointer;
    z-index: 0;
    opacity: 0
}
.box .answer i:first-child{
    font-size: 16px;
    padding: 0 45%;
}
.answer-right>div{
    margin-bottom: 10px;
}
.answer-right .layui-form-item{
    margin: 10px 15px !important;
}
.answer-right>div>a{
    display: block;
    margin-left: 44px;
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
}
.answer-right>p>a{
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
}
.answer-right p:last-child{
    padding: 10px 0;
    margin: 0 !important;
    font-size: 12px;
    color: #8489A2;
    letter-spacing: 0;
    background: #FFF;
    border: none;
    border-top:1px solid #E9E9E9;
}
.btm{
    position: relative;
    margin-top: 151px;
    border-top: 1px solid #D0D0D0;
}
.btm .footer{
    padding: 40px 40px 10px 40px;
    height: 44px;
    line-height: 44px;
}
.btm span{
    font-size: 14px;
    color: #BFC1CD;
    letter-spacing: 0;
}
.btm button {
    float: right;
    padding: 5px 33px;
    border-radius: 4px;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
    line-height: 22px;
    outline: none;
    background: #8489A2;
    color: #fff;
    border: 1px solid #8489A2;
}
.btm button[type="submit"]{
    margin-left: 20px;
}


