html,
body {
    font-size: 18px;
}


ul {
    margin: 0;
    padding: 0;

    li {
        list-style: none;
    }
}

.ol-zoom {
    padding: 0;
    top: 170px !important;
    left: auto !important;
    right: 10px !important;
    border-radius: 5px;

    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;
        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }

    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
}

.ol-full-screen {
    padding: 0;
    border-radius: 5px;
    top: 50px !important;
    left: auto !important;
    right: 10px !important;

    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;

        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }

    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
}


.ol-rotate {
    button {
        margin: 1px;
        width: 30px;
        height: 30px;
        background: #fff;
        color: #666;
        box-shadow: 0px 0px 4px 1px #ccc;
        border-radius: 5px;
    }

    button:hover,
    button:focus {
        background: #666;
        color: #fff;
    }
}

.ol-scale-line {
    background: #fff;
    box-shadow: 0px 0px 4px 1px #ccc;

    div {
        color: #666;
        border: 1px solid #666;
        border-top: none;
    }
}



.text-gray {
    color: #2196f3
}

.text-green {
    color: #44cc44;
}

.text-red {
    color: #ff0909;
}

.water-rain-box {
    .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);

            .risk-text {

                height: calc(100% - 12px);

                div.header {
                    display: flex;
                    align-items: center;
                    height: 48px;





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

                    .search {
                        margin: 0 !important;
                    }

                }

                div.content {
                    position: relative;
                    height: calc(100% - 48px);

                    p {
                        position: absolute;
                        top: 0;
                        left: 0;
                        padding: 5px;
                        margin: 0;
                        height: 100%;
                        word-wrap: break-word;
                        box-sizing: border-box;
                        overflow-y: auto;


                        scrollbar-width: thin;
                        font-size: $font30;
                        line-height: 40px;
                        letter-spacing: 1.2px;
                        word-break: break-all;

                        span {
                            color: #011dff;

                            i {
                                font-style: normal;
                                color: #606266;
                            }

                            strong {
                                font-weight: normal;
                                cursor: pointer;
                            }
                        }

                        span[ii="0"],
                        span[ii="1"],
                        span[ii="2"],
                        span[ii="3"],
                        span[ii="4"] {
                            cursor: pointer;
                        }

                        .text-tab {
                            color: red;
                            cursor: pointer;
                            font-weight: normal;
                        }

                        .text-tab:hover {
                            border-bottom: 1px solid red;
                        }
                    }
                }
            }
        }
    }
}

.retail-popup {
    .el-dialog {
        padding: 0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: auto !important;
        z-index: 111 !important;
        width: 940px !important;
        height: 540px !important;
        background: #C1E6F3 !important;

        color: #606266 !important;
        
        .el-dialog__header {
            padding: 10px 20px !important;
            height: 60px !important;
            box-sizing: border-box !important;

            .el-dialog__title {

                color: #606266 !important;

                font-size: $font32 !important;

                line-height: 40px !important;
            }

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

            .el-dialog__headerbtn {
                top: 14px !important;

            }

        }

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

            height: calc(100% - 60px) !important;

            box-sizing: border-box !important;

            iframe {
                width: 100% !important;
                height: 100% !important;
            }
        }
    }
}


.risk-child-item .el-button {
    padding: 0;
    width: 52px;
    height: 36px;
    display: flex;
    border: 0px;
    color: #606266;

    &>span {
        width: 100%;
        height: 100%;
        flex: 1;

        display: flex;
        align-items: center;


        &>span.text {
            padding-left: 10px;
            width: 38px;

            font-size: 16px;
            box-sizing: border-box;
        }
    }
}

.risk-child-item .el-button.is-checked {
    color: #409EFF;
}