.birth-editor-body {
    height: calc(~"100% - 89px");
    background: #e6e6e6;
    position: relative;
    overflow: scroll;

    .slide-title {
        text-align: left;
        margin-left: 20px
    }

    .slide-content-padding {
        padding: 0 25px;
    }

    .rodal-dialog>div:nth-child(2) {
        padding-bottom: 0 !important;
        height: calc(~"100% - 52px") !important;

        .wea-slide-modal-content {
            height: 100%;
            position: relative;

            // & > div{
            //     height: calc(~"100% - 40px");
            //     overflow-y: auto;
            // }

            .birth-slide-bottom-bar{
                position: absolute;
                bottom: 0px;
            }
        }
    }

    .pc{
        width: 475px;
        height: 500px;
    }

    .mobile{
        width: 400px;
        height: 644px;
    }

    .editor-body-bg {
        background: #fff;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;

        .editor-body-img,
        .editor-body-person,
        .editor-body-date,
        .editor-body-congratulation,
        .editor-body-head {
            position: absolute;
            cursor: pointer;
        }

        .editor-body-img{
            background-size: 100%;
        }

        .editor-body-date {
            display: inline-block;
        }

        .editor-body-person {
            width: 350px;
            height: 210px;
            display: table;

            .body-person-content {
                display: table-cell;
            }

            .person-name {
                margin-right: 30px;
            }

            .person-congratulation {
                margin-left: 30px;
                cursor: pointer;
            }

        }
    }


    .selected {
        border: 1px solid #008dcb;
    }

    .body-bg-set {
        height: 100%;
        overflow-y: auto;
        white-space: normal;
        padding: 0 15px;

        .birth-editor-form {
            padding-left: 10px;
            padding-right: 80px;
        }

        .bg-set-tip {
            padding: 5px 0;
        }

        .wea-search-group {
            padding: 0;
        }

        .bg-set-btn {
            .wea-upload {
                display: inline-block;
                margin-right: 10px;
            }
        }

        .bg-img-container {
            height: 173px;
            border: 1px solid #e4e4e4;
            padding: 10px 8px;
            overflow-y: auto;

            .bg-img-outer {
                display: inline-block;
                padding: 10px;
                position: relative;

                .bg-img {
                    width: 48px;
                    height: 48px;
                    cursor: pointer;
                }

                .bg-img-clear {
                    position: absolute;
                    right: 0;
                    top: 0;
                    color: red;
                    font-size: 16px;
                    cursor: pointer;
                }
            }
        }

    }

    .body-img-set {
        .slide-content-padding;

        .width,
        .height {
            .ant-form-item-control {
                text-align: right;
            }

            .ant-input-number {
                width: 65px;
            }
        }

        .height {
            padding-left: 10px;
        }

        .btns{
            text-align: right;
            
            & > *{
                display: inline-block;
                &:last-child{
                    margin-left:15px;
                };
            }
        }

        .preview {
            position: relative;
            height: 270px;


            .img-upload {
                width: 250px;
                height: 180px;
                background: #f2f2f2;
                position: absolute;
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
                margin: auto;
            }

        }
    }

    .width-height {

        .width,
        .height {
            padding-left: 20px;

            .ant-form-item-control {
                text-align: right;
            }

            .ant-input-number {
                width: 80px;
            }
        }
    }

    .head-set {
        .slide-content-padding;
        .width-height;
    }

    .congratulation-set {
        .slide-content-padding;
        .width-height;
    }

    .person-set,
    .date-set {
        .slide-content-padding;

        .font-family,
        .font-size,
        .font-color,
        .btn-color,
        .h-align,
        .v-align {
            .ant-form-item-control {
                text-align: right;

                .ant-select-lg {
                    width: 100px;
                }
            }
        }
    }

}

.birth-editor-body.full {
    height: 100%;
}

.birth-slide-bottom-bar {
    display: inline-block;
    width: 90%;
    margin: 0 5%;
    border-top: 1px solid #d7d7d7;
    padding-top: 15px;
    color: #9e9e9e;

    li {
        width: 20%;
        float: left;
        text-align: center;
        font-size: 20px;
        cursor: pointer;
    }
}