.form_overlay {
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.form_overlay_bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity:0.6;
    filter:alpha(opacity=60);
}

.form_panel {
    background-color: #fff;
    left: 50%;
    margin: 0 0 0 -275px;
    max-height: 80%;
    overflow-y: auto;
    padding: 20px;
    position: fixed;
    top:50%;
    max-width: 600px;
    min-width:500px;
    border-radius: 3px;
}

.form_panel.editor {
    max-width: 900px;
}

.form_title {
    border-bottom: 1px solid #f0f0fc;
    color: #000;
    font-size: 20px;
    /*text-align: center;*/
    padding-bottom: 15px;
}

.overlay-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 16px;
    color: #999;
}

#top_close:hover {
    color: #d22800;
}

.form_content {
    padding: 20px 0 20px 0;
}

.form_content p {
    line-height:2;
    color:#999;
}

.form_content .item {
    width: 100%;
    margin-bottom: 20px;
    line-height:35px;
}

.form_content .item::after {
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}

.form_content .item input[type="text"], .form_content .item input[type="password"], .form_content .item input[type="number"] {
    background: #f5f7fc;
    border: 1px solid #f0f0f3;
    height: 35px;
    line-height: 35px;
    width: 302px;
    box-sizing: border-box;
    padding: 0 5px;
    border-radius: 2px;
}

.form_content .item input[type="radio"], .form_content .item input[type="checkbox"] {
    margin-right:10px;
}
/*文本框*/
 .form_content textarea {
    width: 302px;
    height: 100px;
    resize: vertical;
    max-height: 300px;
    border:1px solid #f0f0fc;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
}

.require {
    color:#cc0000;
    margin-right:5px;
    margin-left:-10px;
    width: 6px;
    display: inline-block;
}

.form_content .label {
    color: #999;
    display: block;
    float: left;
    line-height: 32px;
    width: 80px;
    padding: 0 10px 0 10px;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
}

.form_content .check-label {
    display: inline-block;
    margin-right: 10px;
    word-break: break-all;
    word-wrap: break-word;
    color:#666;
}

.check-label > input {
    margin: -2px 5px 0 0;
}

.form_content .k-container {
    display: inline-block;
}

.form_content .item .item-box {
    display:inline-block;
}

.form_content .item-box > span {
    float: left;
}
/*上传图片*/
 #uploadImg {
    width: 120px;
    text-align: center;
    background: #eee;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #333;
    cursor: pointer;
}

#uploadImg:hover {
    background: #ddd;
}

.form_content .k-container .mark {
    color: #999;
}

.form_content .item #preview {
    position:relative;
    margin-right: 10px;
}

.form_content .item #preview img {
    max-width:240px;
    max-height:80px;
}

.form_content .item #preview i {
    color:#ff0000;
    position:absolute;
    right: -5px;
    top: -12px;
    font-size: 20px;
    cursor: pointer;
}

.form_content .item .button {
    background: #f5f7fc;
    border: 1px solid #f0f0f3;
    color: #fff;
    cursor: pointer;
    height: 80px;
    line-height: 80px;
    width: 120px;
    text-align: center;
    box-sizing: border-box;
    position:relative;
    border-radius:2px;
}

.form_content .item .button i {
    color:#e7eaf1;
    font-size:30px;
    display: inline-block;
}
/*单选*/
 .form_content .item .single {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
}

.form_content .item .single i {
    position: absolute;
    color: #34b3a0;
    margin-top: 1px;
}

.form_content .item .single input[type="radio"] {
    position: relative;
    opacity: 0;
}
/*复选框*/
 .form_content .item .multi i {
    border: 1px solid #f0f0f3;
    color: #34b3a0;
    font-size: 15px;
    position: absolute;
    margin-top: 7px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
    box-sizing: border-box;
}

.form_content .item .multi input[type="checkbox"] {
    position: relative;
    opacity: 0;
}
/*上传附件*/
 .form_content .item .upload {
    border: 1px solid #f0f0f3;
    background:#f5f7fc;
    padding-left:10px;
    width:302px;
    border-radius: 2px 2px 0 0;
    height: 35px;
    line-height: 35px;
    cursor: pointer;
    box-sizing: border-box;
}

.form_content .item .filebox {
    border: 1px solid #f0f0f3;
    border-top:none;
    width:302px;
    border-radius: 0 0 2px 2px;
    height: 35px;
    line-height: 35px;
    padding-left:10px;
    cursor: pointer;
    box-sizing: border-box;
}

.form_content .item .filebox p a {
    color:#b3b3b3;
}

.form_content .item .filebox p .del {
    color:#ff0000;
    float:right;
    margin:5px;
}

.form_content .item .upload i {
    color:#a1a2a3;
}
/*下拉框样式*/
 .form_content .item select {
    /*appearance: none;*/
    /*-moz-appearance: none;*/
    /*-webkit-appearance: none;*/
    border: 1px solid #f0f0f3;
    height: 35px;
    width: 302px;
    padding:0 5px;
    line-height: inherit;
    background: #f5f7fc;
    border-radius: 2px;
}

.form_content .item .choice {
    position: relative;
    display: inline-block;
}
/*.form_content .item .choice:after {*/

/*    content:"";*/

/*    position: absolute;*/

/*    top: 11px;*/

/*    right: 20px;*/

/*    border-right: 2px solid #4a4a4b;*/

/*    border-top: 2px solid #4a4a4b;*/

/*    height: 8px;*/

/*    width: 8px;*/

/*    transform: rotate(135deg);*/

/*    -webkit-transform: rotate(135deg);*/

/*}*/

/*.form_content .item .select::-ms-expand {*/

/*    display: none;*/

/*}*/

/*按钮*/
 .form_control {
    bottom: 0;
    height: 40px;
    padding-left: 130px;
    right: 0;
}

.form_control a {
    background: #34b3a0;
    color: #fff;
    float: left;
    height: 34px;
    line-height: 34px;
    margin-right: 50px;
    padding: 0 30px;
    border-radius:3px;
}

.form_control a:focus, .form_control a:hover {
    color: #fff;
    text-decoration: none;
    opacity:0.9;
}

.form_control .close {
    background: #f9f9f9;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    text-shadow: none;
    opacity: 1;
    border: 1px solid #ddd;
}

.form_control .close:focus, .form_control .close:hover {
    color: #34b3a0;
    text-decoration: none;
    cursor: pointer;
    opacity: 1;
}
/*上传*/
 .attachment a {
    color: #266dc7;
    text-decoration: underline;
}

#fileUrl {
    border-radius: 0;
    border-right: 0 none;
    width: 222px;
}

.item-box > input, .item-box > span {
    float: left;
}

.form_content .item .button {
    background: #df6363 none repeat scroll 0 0;
    border: 1px solid #b74646;
    color: #fff;
    cursor: pointer;
    height: 35px;
    line-height: 35px;
    padding: 0 20px;
    position: relative;
    border-radius: 0px 2px 2px 0px;
}

.item-box > input, .item-box > span {
    float: left;
}

.form_content .upload-derict {
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
    font-size: 0;
}

.table_zone img {
    width:50px;
    height:50px;
}

.font-normal {
    font-weight: normal;
}

.text-muted {
    color: #666 !important;
}

.edui-default .edui-editor {
    line-height: 0;
}

@media screen and (min-width: 320px) and (max-width: 640px) {
    .form_panel {
        max-width: 98%;
        min-width: 98%;
        box-sizing: border-box;
    }
    
.form_content .label {
        float: none;
        text-align: left;
        padding: 0;
    }
    
.form_content .item input[type="text"], .form_content .item input[type="password"], .form_content .item input[type="number"], .form_content .item select, .form_content .item .choice {
        width: 100%;
    }
    
.form_content textarea {
        width: 100%;
    }
    
.form_control {
        padding-left: 0;
    }
    
.form_control a {
        float: none;
        margin-right: 0;
        padding: 0;
        display: inline-block;
        text-align: center;
        width: 40%;
        margin: 0 4%;
        border: 1px solid #34b3a0;
        box-sizing: border-box;
    }
    
.form_panel.editor {
        max-width: 98%;
    }
    
#uploadForm .item-box.divLabel, #uploadForm .attachment {
        margin-left: 0;
    }
    
.form_content .item .item-box {
        width: 100%;
    }
    
#fileUrl {
        width: 65%;
    }
    
.form_content .item .button {
        width: 35%;
        padding: 0;
        display: inline-block;
    }
}