:root {
    --main-color: #F4F7FA;
    --text-color: #282E4C;
    --button-color: #F4F7FA;
}
/*with element*/
.new-flow-form * {
    color: #282E4C !important;
}

.new-flow-form h1,h3 {
    font-weight: bold !important;
}

.new-flow-form thead {
    background-color: var(--main-color) !important;
}

.new-flow-form .btn {
    background-color: var(--button-color) !important;
    margin-top :5px!important;
    margin-bottom :5px!important;
}
.new-flow-form .panel-heading{
    background-color: var(--main-color) !important;
}
.new-flow-form label {
    line-height: 34px;
}
.new-flow-form textarea {
    min-width: 100%;
    max-width: 100%;
    resize: vertical;
}

/*with bootstrap class*/
/*每行1項*/
.col-md-12 > .flow-horizontal > label{
    flex:1
}
.col-md-12 > .flow-horizontal > .form-control-block{
    flex:8
}
/*每行2項*/
.col-md-6 > .flow-horizontal > label{
    flex:1
}
.col-md-6 > .flow-horizontal > .form-control-block{
    flex:3.35
}
/*每行3項*/
.col-md-4 > .flow-horizontal > label{
    flex:1
}
.col-md-4 > .flow-horizontal > .form-control-block{
    flex:1.8
}
/*每行4項*/
.col-md-3 > .flow-horizontal > label{
    flex:1
}
.col-md-3 > .flow-horizontal > .form-control-block{
    flex:1
}

/*custom class*/
.new-flow-form {
    margin: 0 10px 0;
}
.master-area{
    margin-top: 30px;
}
.master-area > .row:first-child{
    margin-top: 30px;
}
.detail-area{
    margin-top: 30px;
}
.title-area{
    margin-top: 30px;
}
.info-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.disabled-area {
    background-color: var(--main-color);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
}
.flex-intable {
    display: flex;
    flex-direction: row;
}
.flex-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intable-form{
    min-width: 100px;
    max-width: 250px;
}
.block-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 600px;
}
.form-readonly{
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.btn-readonly{
    display: none;
}
.flow-horizontal{
    display: flex;
    flex-direction: row;
}
.flow-horizontal > label{
    flex:1;
    padding: 0 10px 0 10px;
    margin: 0;
    display: flex;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    justify-content: end;
    background-color: var(--main-color);
}
/* .flow-horizontal > label{
    flex:1;
    padding: 0 10px 0 10px;
    margin: 0;
    display: flex;
    justify-content: start;
} */
.form-control-block{
    flex:2
}
.multi-control-item {
    display: flex;
    align-items: center;
}
.multi-control-item > input,
.multi-control-item > .btn,
.multi-control-item > label{
    flex-grow: 1;
    margin:0 3px 0 0 !important;
}
.multi-control-item > :last-child {
    margin-right: 0;
}
@media screen and (max-width: 992px) {
    .flow-horizontal{
        display: flex;
        flex-direction: column;
    }
    .flow-horizontal > label{
        margin-left: 0;
        background-color: transparent;
        justify-content: start;
        padding: 0;
    }
}


.cd-flow-form hr {
    border: none;
    border-top: 1px solid #ddd;
    color: #333;
    overflow: visible;
    text-align: center;
    height: 5px;
}

/**标题**/
.Form_TitleCss {
    text-align: center;
    margin: 0px 0 10px;
    padding: 0px;
}
/**表单边框**/
.Form_DivCss {
    width: 100%;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    margin-bottom: 20px;
}

/**单行字段名1**/
.Form_TextCss {
    background-color: #F6F7F9;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #ddd;
    font-size: 12px; /*一行分为6列时，字体需要小一点，否则超过5个字会换行*/
    text-align: right;
    padding: 0px;
    padding-right: 5px;
}
/**单行输入框1,输入框宽度在表单设定中自定义**/
.Form_InputCss {
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    height: 36px;
    padding-left: 4px;
    padding-top: 3px;
    display: inline;
}

/***定义样式象Bootstrap form-control的Input或是select样式***/
.Form_FormControl {
    height: 30px;
    line-height: 1.42857;
    color: rgb(85, 85, 85);
    background-color: rgb(255, 255, 255);
    background-image: none;
    box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-right: 2px;
    padding-left: 5px;
}

.Form_PanelTitle {
    font-size: 14px;
}

.Form_FormControl[readonly] {
    background-color: rgb(238, 238, 238);
    opacity: 1;
}

.Form_PanelBody {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media screen and (max-width: 992px) {
    .Form_TextCss{
        text-align: left;
		padding-left: 5px;
		padding-right: 5px;
    }
}
