html, body {
    min-width: 320px;
}
body{
    background: #f8f9ff;
    padding: 15px 15px 60px;
}
.company-box{
    line-height: 30px;
    font-size: 17px;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 15px;
}
.title-box{
    line-height: 30px;
    font-size: 22px;
    letter-spacing: 2px;
    text-align: center;
}
.items-title-box{
    display: -webkit-flex;
    display: flex;
    line-height: 30px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.items-title-box p{
    font-size: 17px;
    font-weight: bold;
}
.btn-general{
    width: 60px;
    line-height: 30px;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
}
.btn-general:hover{
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
}
.btn-add,.btn-upload-file,.btn-submit{
    background: #90c42f;
    -webkit-box-shadow: 0 2px 6px 0 rgba(144,196,47,.5);
    box-shadow: 0 2px 6px 0 rgba(144,196,47,.3);
}
.btn-add:hover,.btn-upload-file:hover,.btn-submit:hover{
    background: #7cad22;
}
.btn-delete,.layui-btn-danger{
    display: -webkit-flex;
    display: flex;
    width: 40px;
    justify-content: center;
    align-items: center;
    background: #fa5c7c;
    -webkit-box-shadow: 0 2px 6px 0 rgba(250,92,124,.5);
    box-shadow: 0 2px 6px 0 rgba(250,92,124,.5);
    padding: 0 10px;
}
.btn-delete:hover,.layui-btn-danger:hover{
    background: #df4967;
}
.items-box{
    background: #fff;
    box-shadow: 0 8px 12px 2px rgba(211,217,255,.2);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 15px;
}
.items-box li{
    display: -webkit-flex;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.items-box li:last-child{
    /*margin-bottom: 0;*/
}
.items-box li label{
    width: 80px;
    line-height: 20px;
}
.items-box .layui-input-block{
    display: -webkit-flex;
    display: flex;
    width: calc(100% - 80px);
    color: #727272;
    align-items: center;
    flex-flow:row wrap;
    margin-left: 0;
    padding-left: 15px;
}
.other-input-box{
    display: -webkit-flex;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.items-basic-box .other-input-box{
    margin: 0 20px 10px 0;
}
.other-input-box .layui-form-radio{
    margin-right: 0;
}
.items-box .input-text{
    min-width: 195px;
    line-height: 34px;
    background: rgba(166,224,59,.2);
    border: none;
    border-radius: 2px;
    padding: 0 10px;
}
.items-box .input-text::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #7d7d7d;
}
.items-box .input-text:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #7d7d7d;
}
.items-box .input-text::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #7d7d7d;
}
.items-box .input-text:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #7d7d7d;
}
.form-list{
    display: -webkit-flex;
    display: flex;
    align-items: center;
    flex-flow:row wrap;
    margin-bottom: 10px;
}
.form-list:last-child{
    margin-bottom: 0;
}
.form-list li{
    margin-right: 15px;
}
.form-list li label{
    width: 110px;
    line-height: 20px;
    color: #333;
    text-align: right;
    padding-right: 10px;
}
/*.patient-list li label{
    width: 100px;
}
.hospital-list li label{
    width: 100px;
}*/
.items-box label b{
    color: #ff3d3d;
}
.input-block-box{
    margin-bottom: 10px;
}
.layui-form-select .layui-input{
    background: rgba(166,224,59,.2);
    border: none;
}
.subtitle-box{
    display: -webkit-flex;
    display: flex;
    line-height: 30px;
    justify-content: space-between;
    padding-bottom: 10px;
}
.subtitle-box p{
    font-size: 16px;
    font-weight: bold;
}
.tip-box{
    line-height: 20px;
    color: #ff4d4d;
    padding-bottom: 10px;
}
.items-patient-box .other-input-box .input-text{
    margin-right: 15px;
}
.items-add-box{
    display: -webkit-flex;
    display: flex;
    background: rgba(166,224,59,.2);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
}
.items-add-box:last-child{
    margin-bottom: 0;
}
.add-list{
    width: calc(100% - 40px);
    margin-bottom: 0;
}
.add-list .input-text{
    background: #fff;
}
.items-add-box .layui-form-select .layui-input{
    background: #fff;
}
.items-box textarea{
    width: 100%;
    height: 120px;
    line-height: 20px;
    background: rgba(166,224,59,.2);
    border-radius: 8px;
    border: none;
    padding: 10px;
}
.items-harmful-box .block-box,.items-fetation-box .block-box{
    display: block;
    width: 100%;
}
.items-harmful-box .block-box label,.items-fetation-box .block-fetation-box label{
    display: block;
    width: 100%;
    text-align: left;
    padding-bottom: 10px;
}
.items-harmful-box textarea{
    width: 100%;
    background: #fff;
    margin-bottom: 10px;
}
.subtitle-box b{
    color: #ff4d4d;
}
.items-box .subterm-box{
    display: block;
    width: 100%;
}
.harmful-upload-box h5{
    display: -webkit-flex;
    display: flex;
    width: 100%;
    line-height: 30px;
    justify-content: space-between;
}
.upload-img-box{
    margin-bottom: 10px;
}
.harmful-upload-img-box{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.upload-list{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}
.upload-list li{
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin: 0 10px 10px 0;
    position: relative;
}
.upload-list li img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    float: left;
}
.btn-upload-img{
    width: 150px;
    height: 150px;
    background: #fff;
    border: 1px solid #e3e3e3;
    cursor: pointer;
}
.icon-upload-img{
    font-size: 50px;
    color: #c5c5c5;
}
.items-upload-box{
    position: relative;
}
.upload-img-box .icon-close{
    display: block;
    width: 40px;
    height: 40px;
    line-height: 34px;
    font-size: 20px;
    color: #fff;
    background: #f00;
    border-bottom-left-radius: 40px;
    padding-left: 14px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}
.upload-img-box .icon-close::before{
    content: "\e606";
}
.btn-upload-file{
    width: 80px;
    font-size: 14px;
}
.items-fetation-box{
    padding-right: 0;
}
.items-fetation-box textarea{
    margin-bottom: 10px;
}
.btn-submit{
    min-width: 200px;
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: 3px;
    margin: 15px auto;
    padding: 5px 0;
}
footer{
    width: 100%;
    background: #f8f9ff;
    box-shadow: 0 0 12px 2px rgb(180 190 255 / 20%);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.items-box .info-employee-box,.items-box .info-other-staffs-box{
    display: none;
}

/* layui样式优化 */
.layui-form-radio{
    color: #7d7d7d;
    margin-top: 0;
}
.layui-form-select dl dd{
    line-height: 20px;
    white-space: normal;
    padding: 10px;
}
.layui-form-checkbox[lay-skin=primary]{
    padding-left: 24px;
}
.report-type-checkbox .layui-form-checkbox i{
    height: 30px;
}

/* formSelects样式优化 */
.xm-select-parent{
    width: 195px;
}
.xm-select-parent .xm-select-title{
    width: 195px;
    background: #fff;
}
.xm-select-parent .xm-input{
    border: none;
}
div[xm-select-skin] .xm-select-title div.xm-select-label>span,.xm-form-checkbox > i{
    border: 1px solid #90c42f;
}
.xm-select-parent .xm-select-title div.xm-select-label>span{
    display: -webkit-flex;
    display: flex;
    background-color: #90c42f;
    justify-content: space-between;
    padding-right: 5px;
}
.xm-select-parent dl dd.xm-select-this div i{
    color: #90c42f;
}
.xm-select-parent .xm-select-title div.xm-select-label>span i{
    color: #fff;
    margin-left: 0;
    position: static;
}
.icon-close::before{
    content: "\e601";
}
.xm-select-parent dd > .xm-cz-group .xm-cz{
    display: inline-block;
    margin-right: 5px!important;
}
.xm-select-parent dd .xm-cz:hover{
    color: #90c42f;
}

/* 响应式布局 */
@media (max-width: 1075px){
    .items-box li:last-child{
        border-top: 1px dashed #e3e3e3;
        padding-top: 10px;
    }
}
@media (max-width: 640px){
    body{
        padding: 12px 12px 60px;
    }
    .items-box,.items-add-box{
        padding: 12px;
    }
    .items-basic-box .other-input-box{
        width: 100%;
        flex-wrap: wrap;
        margin-right: 0;
    }
    .items-box .input-text{
        min-width: auto;
        width: calc(100% - 110px);
    }
    .items-basic-box .input-text{
        width: calc(100% - 70px);
    }
    .items-basic-box .c-98 .input-text{
        width: calc(100% - 98px);
    }
    .layui-form-select,.w-110,.xm-select-parent{
        width: calc(100% - 110px);
    }
    .form-list,.items-add-box{
        display: block;
    }
    .form-list li{
        margin-right: 0;
    }
    .items-patient-box .other-input-box .input-text{
        width: calc(100% - 55px);
        margin-right: 0;
    }
    .add-list,.xm-select-parent .xm-select-title{
        width: 100%;
    }
    .btn-delete, .layui-btn-danger{
        display: block;
        width: 80px;
        margin: 12px auto 0;
    }
    .layui-btn-danger{
        margin-top: 0;
    }
    .btn-upload-img,.upload-list li{
        width: calc((100vw - 82px)/2);
        height: calc((100vw - 82px)/2);
    }
    .items-fetation-box{
        padding-right: 12px;
    }
    .upload-list li{
        margin-right: 10px;
    }
    .upload-list li:nth-child(2n){
        margin-right: 0;
    }
    .layui-table th:first-child{
        width: 40%;
    }
    .layui-table th:nth-child(2){
        width: 40%;
    }
    .layui-table th:last-child{
        width: 40%;
    }
    .items-box li:last-child{
        margin-bottom: 0;
    }
    .report-type-checkbox .layui-form-checkbox{
        margin-top: 5px;
    }
}