.fxyj-base {

    &>.content-box {
        width: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        height: 100%;
        background: #fff;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);

        &>.risk-content {
            height: 100%;

            &>div:nth-child(1) {
                height: calc(100% - 624px);
            }

            &>div:nth-child(2) {
                height: 624px;
            }

            .risk-text {
                .el-date-editor {
                    margin: 0 5px;
                }
            }

            div.header {
                padding: 0 5px;

                display: flex;
                background: #C1E6F3;
                align-items: center;
                height: 44px;
                line-height: 44px;

                .el-button {
                    margin: 0 !important;
                    margin-left: 5px !important;
                }

                .search {
                    margin: 0 !important;
                }

            }

            .risk-table {
                .content {

                    &>div {
                        position: absolute;
                        top: 6px;
                        left: 6px;
                        width: calc(100% - 12px);
                        height: calc(100% - 12px);

                        &>div {
                            position: absolute;
                            top: 0px;
                            left: 0px;
                            width: 100%;
                            height: 100%;
                        }
                    }



                    .el-table {
                        height: calc(100%);
                        background-color: #fff;
                        font-size: 16px;

                        .el-table__header-wrapper {
                            th {
                                color: #606266;
                                background: #C1E6F3;
                                font-weight: normal;
                            }
                        }

                        .el-table__body-wrapper {
                            height: calc(100% - 36px);
                            overflow-y: auto;


                            scrollbar-width: thin;

                            tr {
                                color: #606266;
                                cursor: pointer;
                            }

                            .el-table__body td {
                                position: relative;

                                .cell {
                                    span {
                                        display: inline-block;
                                        width: 100%;
                                        height: 100%;
                                        text-align: center;
                                        font-size: 16px;
                                    }
                                }

                            }

                        }
                    }
                }

            }
        }

    }






    .noteDialog {
        .el-dialog {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto !important;
            width: 920px !important;
            height: 540px !important;
            background: #C1E6F3;

            color: #606266;

            .el-dialog__header {
                padding: 10px 20px;

                .el-dialog__title {

                    color: #606266 !important;

                    font-size: $font32;

                    line-height: 40px;
                }

                .el-dialog__close {
                    color: #606266 !important;
                    font-size: $font32;
                }

                .el-dialog__headerbtn {
                    top: 14px;

                }

            }

            .el-dialog__body {
                padding: 2px 20px 10px 20px;
                background: #fff;
                color: #606266;

                height: calc(100% - 44px);

                p {
                    margin: 0;
                    text-indent: 2em;
                    font-size: $font30;
                    line-height: 40px;
                    letter-spacing: 1.2px;
                    word-break: break-all;

                    height: calc(100% - 40px);
                    overflow-y: auto;

                    scrollbar-width: thin;
                }

                .el-button {
                    margin-top: 6px;
                    float: right;
                }
            }
        }
    }

    // 预警详情
    .earlyDialog {
        width: calc(100% - 397px);
        height: calc(100% - 60px);
        top: auto;
        left: auto;
        right: 0;
        bottom: 0;
        color: #677788;
        font-size: 12px !important;

        .el-dialog {
            padding: 10px;

            .el-dialog__header {
                padding: 0;
                height: 54px;
                line-height: 54px;

            }

            .el-dialog__body {
                padding: 0;
                height: calc(100% - 54px);

                .el-pagination__sizes .el-input .el-input__inner {
                    font-size: $font16;
                }

                .dialog-data-table {

                    width: 100%;
                    height: 100%;

                    .el-table {
                        height: calc(100% - 32px);
                        font-size: $font16 !important;

                        .el-table__body-wrapper {
                            height: calc(100% - 71px);
                            overflow-y: auto;

                            scrollbar-width: thin;
                        }
                    }
                }
            }
        }

    }

}

.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;

    .real-river-box {
        width: 320px;

        ul {
            li {
                padding: 4px;
                line-height: 36px;
                color: #677788;

                span {
                    display: inline-block;
                    width: 102px;
                    font-size: 16px;
                }

                input {
                    height: 100%;
                    background: #fff;
                    border: 1px solid #ccc;
                }

                input,
                textarea {

                    box-sizing: border-box;
                    width: calc(100% - 102px);
                    font-size: 16px;

                }

                textarea {
                    min-height: 72px;
                }
            }
        }
    }
}

.ol-popup:after,
.ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}

.ol-popup-closer:after {
    content: "✖";
}

.risk-child-item {
    position: fixed;
    top: 54%;
    right: 10px;
    height: auto;
    z-index: 444;
    background: #fff;
    color: #677788;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 0px 4px 1px #ccc;

    ul {
        li {
            &>div {
                padding: 0 20px;

                .el-radio-group {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .el-radio {
                        margin: 0;
                        flex: 1;
                        line-height: 36px;
                    }
                }

            }
        }
    }
}

.river-forecast-box {
    .el-dialog {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto !important;
        width: 540px !important;
        height: 360px !important;
        background: #C1E6F3;

        color: #606266;

        .el-dialog__header {
            padding: 10px 20px;

            .el-dialog__title {

                color: #606266 !important;
            }

            .el-dialog__close {
                color: #606266 !important;

            }

            .el-dialog__headerbtn {
                top: 14px;

            }

        }

        .el-dialog__body {
            padding: 10px 20px 10px 20px;
            background: #fff;
            color: #606266;

            height: calc(100% - 44px);

            .container {

                height: calc(100%);

                display: flex;
                flex-direction: column;
                justify-content: space-around;

                &>div {
                    height: 40px;

                    &>.el-select,
                    &>.el-input {

                        width: calc(100% - 46px);

                    }
                }

                &>.el-button {
                    height: 40px;
                }

            }
        }
    }
}