@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('../../../../../assets/fonts/Material_Icons.woff2') format('woff2');
}

.toolbar-div {
    width: 100%;
    flex-shrink: 0;
    overflow-x: scroll;
    display: flex;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    border-bottom: #ebedf5 1px solid;

    .toolbar {
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        background: #fff;
        color: #6b707d;

        select {
            height: 26px;
        }
        .mc-icon {
            color: #353a4a;
        }
        .selected-picker-color {
            background: #000;
        }
        .toolbar-button {
            display: block;
            cursor: pointer;
            width: 26px;
            height: 26px;
            text-align: center;
            line-height: 25px;
            border-radius: 4px;
            border: #fff 1px solid;
            box-sizing: border-box;
            &:hover {
                background: #edeff5;
                border: #dfe2ea 1px solid;
            }
        }
        .toolbar-button-lg {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            font-size: 13px;
            padding: 5px;
            background: #fff;
            border: #fff 1px solid;
            cursor: pointer;
            border-radius: 5px;

            .mc-icon {
                font-size: 30px;
            }

            &:hover {
                background: #ebedf5;
                border: #dfe2ea 1px solid;
            }
        }
        .print-picker-box {
            width: 36px;
            display: flex;
            justify-content: space-between;

            .print-picker-box-inner {
                width: 26px;
                text-align: center;
                .mc-icon {
                    font-size: 14px;
                }
                div:first-child {
                    height: 20px;
                    line-height: 20px;
                }
                .selected-picker-color {
                    height: 3px;
                    width: 14px;
                    margin: 0 auto;
                }
            }

            .mc-icon-arrow-down {
                font-size: 10px;
            }
        }
    }

    //格式刷工具栏样式
    .toolbar-format {
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
        flex-basis: 71px;
        flex-shrink: 0;
    }

    //字体工具栏样式
    .toolbar-font {
        flex-basis: 191px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0 15px;
        border-left: 1px solid #e6e6e6;

        .tool-bar-font-row-top {
            display: flex;
            justify-content: space-between;

            a {
                display: block;

                &.tool-button-font-family {
                    select {
                        width: 110px;
                    }
                }
                &.tool-button-font-size {
                    select {
                        width: 40px;
                    }
                }
            }
        }

        .tool-bar-font-row-bottom {
            display: flex;
            justify-content: space-between;
            padding-top: 10px;
        }
    }

    //对齐工具栏样式
    .toolbar-align {
        display: flex;
        flex-basis: 129px;
        flex-shrink: 0;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: space-between;
        border-left: 1px solid #e6e6e6;
        padding: 0 15px;
    }

    //边框工具栏样式
    .toolbar-border {
        display: flex;
        flex-basis: 201px;
        flex-shrink: 0;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: space-between;
        padding: 0 15px;
        border-left: 1px solid #e6e6e6;

        .toolbar-button {
            line-height: 26px;
        }
    }

    //线型工具栏样式
    .toolbar-line {
        display: flex;
        flex-shrink: 0;
        flex-basis: 171px;
        padding: 0 15px;
        border-left: 1px solid #e6e6e6;
        flex-direction: column;
        justify-content: space-between;

        .toolbar-button-line-type {
            width: 100%;
            select {
                width: 100%;
            }
        }
        .toolbar-button-line-desc {
            width: 100%;
            display: flex;
            justify-content: space-between;
            .toolbar-button-line-thickness {
                width: 48px;
            }
            .toolbar-button-line-color {
                width: 82px;
                display: flex;
                justify-content: space-between;
            }
        }
    }

    .toolbar-merge,
    .toolbar-split,
    .toolbar-insert-pic {
        display: flex;
        flex-basis: 98px;
        flex-shrink: 0;
        flex-direction: column;
        justify-content: space-between;
        padding: 0 10px;
        border-left: 1px solid #e6e6e6;
        text-align: center;
        font-size: 13px;

        .mc-icon {
            font-size: 30px;
        }
    }
    .toolbar-insert-pic {
        flex-basis: 88px;
    }
}

.help-tooltip {
    display: flex;
    flex-direction: column;
    width: 200px;
    background: rgba(255, 255, 255, 1);
}

.help-tooltip span:nth-child(1) {
    font-size: 14px;
    font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
    font-weight: bold;
    color: rgba(51, 51, 51, 1);
    line-height: 19px;
}

.help-tooltip span:nth-child(2) {
    font-size: 12px;
    font-family: MicrosoftYaHei;
    color: rgba(102, 102, 102, 1);
    line-height: 18px;
}

.help-tooltip span:nth-child(3) {
    font-size: 12px;
    font-family: MicrosoftYaHei;
    color: rgba(153, 153, 153, 1);
    line-height: 16px;
}

/* **************** tooltip自定义样式 **************** */

/* **************** 拖拽排序样式 **************** */
.sortable-item {
    list-style-type: none;
    padding-left: 0px;
    margin-top: 0px;
    font-size: 14px;

    /*margin-left: -15px;*/
    /*margin-left: -15px;*/
}

.sortable-item li {
    border: none;
    border-bottom: 1px solid rgba(230, 230, 230, 1);
    line-height: 40px;
    /* background: rgba(255,255,255,1); */
}

.sortable-item li:hover {
    border: none;
    border: 1px solid rgba(230, 230, 230, 1);
    line-height: 40px;
    background: rgba(255, 255, 255, 1);
    /* border: #909090 1px solid; */
    /* background: #fff; */
    color: #333;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#909090,direction=0,strength=4);
    -moz-box-shadow: 2px 2px 10px #909090;
    -webkit-box-shadow: 2px 2px 10px #909090;
    box-shadow: 2px 2px 10px #909090;
}

.sortable-item li:active {
    box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.13);
}

.sortable-item input {
    position: absolute;
    right: 53px;
    margin-top: 13px;
}
.sortable-item img {
    position: absolute;
    right: 25px;
    margin-top: 13px;
}
.sortable-item input {
    width: 16px;
    height: 16px;
    box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.13);
    border-radius: 4px;
    border: 1px solid rgba(153, 153, 153, 1);
}

.help {
    margin-left: 5px;
    width: 14px;
    height: 14px;
}
